Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

banner?: string
charset?: Charset
color?: boolean
define?: {}

Type declaration

  • [key: string]: string
drop?: Drop[]
dropLabels?: string[]
exclude?: string | RegExp | string[] | RegExp[]
footer?: string
format?: Format
globalName?: string
ignoreAnnotations?: boolean
include?: string | RegExp | string[] | RegExp[]
jsx?: "transform" | "preserve" | "automatic"
jsxDev?: boolean
jsxFactory?: string
jsxFragment?: string
jsxImportSource?: string
jsxInject?: string
jsxSideEffects?: boolean
keepNames?: boolean
legalComments?: "external" | "linked" | "inline" | "none" | "eof"
lineLimit?: number
loader?: Loader
logLevel?: LogLevel
logLimit?: number
logOverride?: Record<string, LogLevel>
mangleCache?: Record<string, string | false>
mangleProps?: RegExp
mangleQuoted?: boolean
minify?: undefined

This option is not respected. Use build.minify instead.

minifyIdentifiers?: boolean
minifySyntax?: boolean
minifyWhitespace?: boolean
platform?: Platform
pure?: string[]
reserveProps?: RegExp
sourceRoot?: string
sourcefile?: string
sourcemap?: boolean | "external" | "linked" | "inline" | "both"
sourcesContent?: boolean
supported?: Record<string, boolean>
target?: string | string[]
treeShaking?: boolean
tsconfigRaw?: string | TsconfigRaw