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