Interface: ResolveFileUrlArgs
Defined in: packages/rolldown/src/plugin/index.ts:187
Argument passed to the resolveFileUrl hook.
Properties
chunkId
- Type:
string
Defined in: packages/rolldown/src/plugin/index.ts:192
The preliminary filename of the chunk containing the reference with hash placeholders. Similar to chunk.fileName.
fileName
- Type:
string
Defined in: packages/rolldown/src/plugin/index.ts:194
The filename of the emitted file, relative to the output directory.
format
- Type:
InternalModuleFormat
Defined in: packages/rolldown/src/plugin/index.ts:196
The rendered output format.
moduleId
- Type:
string
Defined in: packages/rolldown/src/plugin/index.ts:201
The id of the original module this file was referenced by using the import.meta.ROLLDOWN_FILE_URL_* reference.
referenceId
- Type:
string
Defined in: packages/rolldown/src/plugin/index.ts:203
The reference id of this file.
relativePath
- Type:
string
Defined in: packages/rolldown/src/plugin/index.ts:209
The path of the emitted file, relative to the chunk the file is referenced from.
This path will contain no leading ./, but may contain a leading ../.