Interface: OutputChunk
Defined in: types/rolldown-output.ts:83
The information about a chunk in the generated bundle.
Extends
ExternalMemoryHandle
Properties
code
- Type:
string
Defined in: types/rolldown-output.ts:86
The generated code of this chunk.
dynamicImports
- Type:
string[]
Defined in: types/rolldown-output.ts:102
External modules imported dynamically by this chunk.
exports
- Type:
string[]
Defined in: types/rolldown-output.ts:92
Exported variable names from this chunk.
facadeModuleId
- Type:
string|null
Defined in: types/rolldown-output.ts:104
The id of a module that this chunk corresponds to.
fileName
- Type:
string
Defined in: types/rolldown-output.ts:94
The file name of this chunk.
imports
- Type:
string[]
Defined in: types/rolldown-output.ts:100
External modules imported statically by this chunk.
isDynamicEntry
- Type:
boolean
Defined in: types/rolldown-output.ts:106
Whether this chunk is a dynamic entry point.
isEntry
- Type:
boolean
Defined in: types/rolldown-output.ts:90
Whether this chunk is a static entry point.
map
- Type:
SourceMap|null
Defined in: types/rolldown-output.ts:109
The source map of this chunk if present.
moduleIds
- Type:
string[]
Defined in: types/rolldown-output.ts:107
modules
- Type: {[
id:string]:RenderedModule; }
Defined in: types/rolldown-output.ts:96
Information about the modules included in this chunk.
Index Signature
[id: string]: RenderedModule
name
- Type:
string
Defined in: types/rolldown-output.ts:88
The name of this chunk, which is used in naming patterns.
preliminaryFileName
- Type:
string
Defined in: types/rolldown-output.ts:112
The preliminary file name of this chunk with hash placeholders.
sourcemapFileName
- Type:
string|null
Defined in: types/rolldown-output.ts:110
type
- Type:
"chunk"
Defined in: types/rolldown-output.ts:84