Interface: OutputAsset
Defined in: types/rolldown-output.ts:10
The information about an asset in the generated bundle.
Extends
ExternalMemoryHandle
Properties
fileName
- Type:
string
Defined in: types/rolldown-output.ts:13
The file name of this asset.
name
- Type:
string|undefined
Defined in: types/rolldown-output.ts:21
Deprecated
Use names instead.
names
- Type:
string[]
Defined in: types/rolldown-output.ts:22
originalFileName
- Type:
string|null
Defined in: types/rolldown-output.ts:15
Deprecated
Use originalFileNames instead.
originalFileNames
- Type:
string[]
Defined in: types/rolldown-output.ts:17
The list of the absolute paths to the original file of this asset.
source
- Type:
string|Uint8Array<ArrayBufferLike>
Defined in: types/rolldown-output.ts:19
The content of this asset.
type
- Type:
"asset"
Defined in: types/rolldown-output.ts:11