Interface: SourceDescription
Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2394
Extends
SpecifiedModuleOptions.Partial<PartialNull<ModuleOptions>>
Properties
code
code: stringDefined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2395
invalidate?
optional invalidate: boolean | null;Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2349
Inherited from
map?
optional map:
| null
| string
| ExistingRawSourceMap;Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2403
The source map for the transformation.
If the transformation does not move code, you can preserve existing sourcemaps by setting this to null.
See Source Code Transformations section for more details.
meta?
optional meta:
| CustomPluginOptions
| null;Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2348
See Custom module meta-data section for more details.
Inherited from
moduleSideEffects?
optional moduleSideEffects: ModuleSideEffects;Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2373
Indicates whether the module has side effects to Rolldown.
- If
falseis set and no other module imports anything from this module, then this module will not be included in the bundle even if the module would have side effects. - If
trueis set, Rolldown will use its default algorithm to include all statements in the module that has side effects. - If
"no-treeshake"is set, treeshaking will be disabled for this module, and this module will be included in one of the chunks even if it is empty.
The precedence of this option is as follows (highest to lowest):
transformhook's returnedmoduleSideEffectsoptionloadhook's returnedmoduleSideEffectsoptionresolveIdhook's returnedmoduleSideEffectsoptionsideEffectsfield in thepackage.jsonfiletreeshake.moduleSideEffectsoptiontrue(default)
Inherited from
SpecifiedModuleOptions.moduleSideEffectsmoduleType?
optional moduleType: ModuleType;Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2404
packageJsonPath?
optional packageJsonPath: string | null;Defined in: node_modules/.pnpm/rolldown@1.0.0-rc.1/node_modules/rolldown/dist/shared/define-config-DO4TBkJV.d.mts:2350