KC's Workspace
    Preparing search index...

    The information about a chunk in the generated bundle.

    interface OutputChunk {
        __rolldown_external_memory_handle__: (
            keepDataAlive?: boolean,
        ) => ExternalMemoryStatus;
        code: string;
        dynamicImports: string[];
        exports: string[];
        facadeModuleId: string | null;
        fileName: string;
        imports: string[];
        isDynamicEntry: boolean;
        isEntry: boolean;
        map: SourceMap | null;
        moduleIds: string[];
        modules: { [id: string]: RenderedModule };
        name: string;
        preliminaryFileName: string;
        sourcemapFileName: string | null;
        type: "chunk";
    }

    Hierarchy (View Summary)

    Index

    Properties

    __rolldown_external_memory_handle__: (
        keepDataAlive?: boolean,
    ) => ExternalMemoryStatus

    Frees the external memory held by this object.

    Type Declaration

      • (keepDataAlive?: boolean): ExternalMemoryStatus
      • Parameters

        • OptionalkeepDataAlive: boolean

          If true, evaluates all lazy fields before freeing memory. This will take time but prevents errors when accessing properties after freeing.

        Returns ExternalMemoryStatus

        Status object with freed boolean and optional reason string.

    code: string

    The generated code of this chunk.

    dynamicImports: string[]

    External modules imported dynamically by this chunk.

    exports: string[]

    Exported variable names from this chunk.

    facadeModuleId: string | null

    The id of a module that this chunk corresponds to.

    fileName: string

    The file name of this chunk.

    imports: string[]

    External modules imported statically by this chunk.

    isDynamicEntry: boolean

    Whether this chunk is a dynamic entry point.

    isEntry: boolean

    Whether this chunk is a static entry point.

    map: SourceMap | null

    The source map of this chunk if present.

    moduleIds: string[]
    modules: { [id: string]: RenderedModule }

    Information about the modules included in this chunk.

    name: string

    The name of this chunk, which is used in naming patterns.

    preliminaryFileName: string

    The preliminary file name of this chunk with hash placeholders.

    sourcemapFileName: string | null
    type: "chunk"