Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

absWorkingDir?: string
alias?: Record<string, string>
allowOverwrite?: boolean
assetNames?: string
banner?: {}

Type declaration

  • [type: string]: string
bundle?: boolean
charset?: Charset
chunkNames?: string
color?: boolean
conditions?: string[]
define?: {}

Type declaration

  • [key: string]: string
drop?: Drop[]
dropLabels?: string[]
entryNames?: string
entryPoints?: string[] | Record<string, string> | { in: string; out: string }[]
external?: string[]
footer?: {}

Type declaration

  • [type: string]: string
format?: Format
globalName?: string
ignoreAnnotations?: boolean
inject?: string[]
jsx?: "transform" | "preserve" | "automatic"
jsxDev?: boolean
jsxFactory?: string
jsxFragment?: string
jsxImportSource?: string
jsxSideEffects?: boolean
keepNames?: boolean
legalComments?: "external" | "linked" | "inline" | "none" | "eof"
lineLimit?: number
loader?: {}

Type declaration

logLevel?: LogLevel
logLimit?: number
logOverride?: Record<string, LogLevel>
mainFields?: string[]
mangleCache?: Record<string, string | false>
mangleProps?: RegExp
mangleQuoted?: boolean
metafile?: boolean
minify?: boolean
minifyIdentifiers?: boolean
minifySyntax?: boolean
minifyWhitespace?: boolean
nodePaths?: string[]
outExtension?: {}

Type declaration

  • [ext: string]: string
outbase?: string
outdir?: string
outfile?: string
packages?: "external"
platform?: Platform
plugins?: Plugin[]
preserveSymlinks?: boolean
publicPath?: string
pure?: string[]
reserveProps?: RegExp
resolveExtensions?: string[]
sourceRoot?: string
sourcemap?: boolean | "external" | "linked" | "inline" | "both"
sourcesContent?: boolean
splitting?: boolean
stdin?: StdinOptions
supported?: Record<string, boolean>
target?: string | string[]
treeShaking?: boolean
tsconfig?: string
tsconfigRaw?: string | TsconfigRaw
write?: boolean