logo
Guide
Config
Plugin
API
English
简体中文
GitHub
Twitter
Discord
Guide
Config
Plugin
API
English
简体中文
GitHub
Twitter
Discord
logo
Overview

Options

Source
Html
Dev
Output
Tools
Performance
Others

Overview#

Options

Source

  • source.alias
  • source.aliasStrategy
  • source.include
  • source.entry
  • source.exclude
  • source.define
  • source.transformImport
  • source.preEntry
  • source.resolveExtensionPrefix
  • source.resolveMainFields

Html

  • html.appIcon
  • html.crossorigin
  • html.outputStructure
  • html.favicon
  • html.inject
  • html.meta
  • html.mountId
  • html.scriptLoading
  • html.tags
  • html.template
  • html.templateParameters
  • html.title

Dev

  • dev.assetPrefix
  • dev.beforeStartUrl
  • dev.client
  • dev.compress
  • dev.devMiddleware
  • dev.headers
  • dev.historyApiFallback
  • dev.hmr
  • dev.host
  • dev.https
  • dev.port
  • dev.progressBar
  • dev.proxy
  • dev.setupMiddlewares
  • dev.startUrl

Output

  • output.assetPrefix
  • output.charset
  • output.cleanDistPath
  • output.copy
  • output.cssModules
  • output.dataUriLimit
  • output.disableCssExtract
  • output.distPath
  • output.disableMinimize
  • output.disableSourceMap
  • output.disableFilenameHash
  • output.enableInlineStyles
  • output.externals
  • output.filename
  • output.legalComments
  • output.overrideBrowserslist
  • output.polyfill

Tools

  • tools.autoprefixer
  • tools.bundlerChain
  • tools.cssLoader
  • tools.htmlPlugin
  • tools.less
  • tools.postcss
  • tools.sass
  • tools.styleLoader
  • tools.rspack

Performance

  • performance.bundleAnalyze
  • performance.chunkSplit
  • performance.dnsPrefetch
  • performance.preconnect
  • performance.prefetch
  • performance.preload
  • performance.printFileSize
  • performance.profile
  • performance.removeConsole
  • performance.removeMomentLocale

Others

  • plugins