Skip to content

Interface: MinifyOptions ​

Options for minification.

Extends ​

  • MinifyOptions

Properties ​

codegen? ​

  • Type: boolean | CodegenOptions
  • Optional

Inherited from ​

OriginalMinifyOptions.codegen


compress? ​

  • Type: boolean | CompressOptions
  • Optional

Inherited from ​

OriginalMinifyOptions.compress


inputMap? ​

  • Type: SourceMap
  • Optional

mangle? ​

  • Type: boolean | MangleOptions
  • Optional

Inherited from ​

OriginalMinifyOptions.mangle


mangleProps? ​

  • Type: ManglePropertiesOptions
  • Optional

Mangle matching property names independently of identifier mangling. Properties owned by unminified code, imported module namespaces, globals, or host APIs must be excluded or reserved.

Inherited from ​

OriginalMinifyOptions.mangleProps


module? ​

  • Type: boolean
  • Optional

Use when minifying an ES module.

Inherited from ​

OriginalMinifyOptions.module


sourcemap? ​

  • Type: boolean
  • Optional

Inherited from ​

OriginalMinifyOptions.sourcemap

Was this page helpful?