Interface: ManglePropertiesOptions
Extends
Omit<BindingManglePropertiesOptions,"cache">
Properties
cache?
- Type:
Record<string,string|false> - Optional
Stable mappings from original names to output names. false reserves an original name. String targets must be valid identifiers and cannot be __proto__, constructor, or prototype. Generated mappings are returned as RolldownOutput.mangleCache.
debug?
- Type:
boolean - Optional
Defined in: packages/rolldown/src/binding.d.cts:193
Generate readable _$name$_-style output names.
Default
ts
falseInherited from
Omit.debug
exclude?
- Type:
RegExp - Optional
Defined in: packages/rolldown/src/binding.d.cts:179
JavaScript RegExp excluding property names selected by include.
Inherited from
Omit.exclude
include
- Type:
RegExp
Defined in: packages/rolldown/src/binding.d.cts:177
JavaScript RegExp selecting property names to mangle. The source and flags are compiled with Rust's regex engine. Flags i, m, s, and u are supported.
Inherited from
Omit.include
quoted?
- Type:
boolean - Optional
Defined in: packages/rolldown/src/binding.d.cts:187
Mangle quoted property occurrences in addition to unquoted occurrences.
Default
ts
falseInherited from
Omit.quoted
reserved?
- Type:
string[] - Optional
Defined in: packages/rolldown/src/binding.d.cts:181
Exact names that are neither mangled nor emitted as automatic output names.
Inherited from
Omit.reserved