Interface: GeneratedCodeOptions
Defined in: options/output-options.ts:16
Properties
preset?
- Type:
optionalpreset:GeneratedCodePreset
Defined in: options/output-options.ts:36
Allows choosing one of the presets listed above while overriding some options.
js
export default {
output: {
generatedCode: {
preset: 'es2015',
symbols: false
}
}
};profilerNames?
- Type:
optionalprofilerNames:boolean
Defined in: options/output-options.ts:47
Whether to add readable names to internal variables for profiling purposes.
When enabled, generated code will use descriptive variable names that correspond to the original module names, making it easier to profile and debug the bundled code.
Note: Enabling this option makes the output more difficult to minify effectively.
Default
ts
falsesymbols?
- Type:
optionalsymbols:boolean
Defined in: options/output-options.ts:21
Whether to use Symbol.toStringTag for namespace objects.
Default
ts
false