Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

compress?: boolean | CompressOptions
ecma?: ECMA
enclose?: string | boolean
format?: FormatOptions
ie8?: boolean
keep_classnames?: boolean | RegExp
keep_fnames?: boolean | RegExp
mangle?: boolean | MangleOptions
maxWorkers?: number

Vite-specific option to specify the max number of workers to spawn when minifying files with terser.

default

number of CPUs minus 1

module?: boolean
nameCache?: object
output?: FormatOptions
deprecated

deprecated

parse?: ParseOptions
safari10?: boolean
sourceMap?: boolean | SourceMapOptions
toplevel?: boolean