webpack logo
DocumentationContributeBlog
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
  • English
  • 中文
  • 한국어
APIconceptsconfigurationguidesloadersmigrateplugins
ag gridag grid dark(opens in a new tab)
ag chartsag charts dark(opens in a new tab)
Datagrid and Charting for Enterprise Applications
webpack
Proud to partner with webpack
(opens in a new tab)
Print SectionPrinter Icon
Configuration
  • Use a different configuration file
  • Set up a new webpack project
Configuration Languages
  • defineConfig
  • TypeScript
  • CoffeeScript
  • Babel and JSX
  • Data formats (JSON5, YAML and TOML)
Configuration Types
  • Exporting a Function
  • Exporting a Promise
  • Exporting multiple configurations
    • dependencies
    • parallelism
Entry and Context
  • context
  • entry
    • Naming
    • Entry descriptor
    • Output filename
    • Dependencies
    • Polyfills in an entry
    • Dynamic entry
    • Multiple Entry Points in Different Folders
    • Runtime chunk
Mode
  • Usage
    • Defaults per mode
    • Mode: development
    • Mode: production
    • Mode: none
Output
  • assetModuleFilename
  • asyncChunks
  • auxiliaryComment
  • charset
  • chunkFilename
  • chunkFormat
  • chunkLoadTimeout
  • chunkLoadingGlobal
  • chunkLoading
  • clean
  • compareBeforeEmit
  • copy
    • Copy patterns
    • Glob options
    • Transforming content
    • Copying with the plugin
  • crossOriginLoading
  • cssChunkFilename
  • cssFilename
  • devtoolFallbackModuleFilenameTemplate
  • devtoolModuleFilenameTemplate
  • devtoolNamespace
  • enabledChunkLoadingTypes
  • enabledLibraryTypes
  • enabledWasmLoadingTypes
  • environment
  • filename
    • Template strings