Documentation
Contribute
Blog
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
(opens in a new tab)
English
中文
한국어
API
concepts
configuration
guides
loaders
migrate
plugins
(opens in a new tab)
(opens in a new tab)
Datagrid and Charting for Enterprise Applications
Proud to partner with webpack
(opens in a new tab)
Select webpack version
webpack 5
webpack 4
Print Section
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