跳到正文

Interface: OutputChunk

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:187

The information about a chunk in the generated bundle.

Extends

  • ExternalMemoryHandle

Properties

code

ts
code: string

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:190

The generated code of this chunk.


dynamicImports

ts
dynamicImports: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:206

External modules imported dynamically by this chunk.


exports

ts
exports: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:196

Exported variable names from this chunk.


facadeModuleId

ts
facadeModuleId: string | null

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:208

The id of a module that this chunk corresponds to.


fileName

ts
fileName: string

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:198

The file name of this chunk.


imports

ts
imports: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:204

External modules imported statically by this chunk.


isDynamicEntry

ts
isDynamicEntry: boolean

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:210

Whether this chunk is a dynamic entry point.


isEntry

ts
isEntry: boolean

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:194

Whether this chunk is a static entry point.


map

ts
map: SourceMap | null

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:213

The source map of this chunk if present.


moduleIds

ts
moduleIds: string[];

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:211


modules

ts
modules: object

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:200

Information about the modules included in this chunk.

Index Signature

ts
[id: string]: RenderedModule

name

ts
name: string

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:192

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


preliminaryFileName

ts
preliminaryFileName: string

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:216

The preliminary file name of this chunk with hash placeholders.


sourcemapFileName

ts
sourcemapFileName: string | null

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:214


type

ts
type: 'chunk'

Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:188


viteMetadata?

ts
optional viteMetadata: ChunkMetadata;

Defined in: node_modules/.pnpm/vite@8.0.0-beta.10_@types+node@25.0.10_jiti@2.6.1_yaml@2.8.2/node_modules/vite/types/metadata.d.ts:32

Released under the MIT License.