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
데이터 포맷 (JSON5, YAML 및 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
Dynamic entry
Multiple Entry Points in Different Folders
Runtime chunk
Mode
Usage
Mode: development
Mode: production
Mode: none
Output
assetModuleFilename
asyncChunks
auxiliaryComment
charset
chunkFilename
chunkFormat
chunkLoadTimeout
chunkLoadingGlobal
chunkLoading
clean
compareBeforeEmit
crossOriginLoading
cssChunkFilename
cssFilename
devtoolFallbackModuleFilenameTemplate
devtoolModuleFilenameTemplate
devtoolNamespace
enabledChunkLoadingTypes
enabledLibraryTypes
enabledWasmLoadingTypes
environment
filename
Template strings
globalObject
hashDigest
hashDigestLength
hashFunction
hashSalt
hotUpdateChunkFilename
hotUpdateGlobal
hotUpdateMainFilename
html
scriptLoading
title
meta
base
inject
inline
favicon
integrity
csp
manifest
htmlFilename
htmlChunkFilename
iife
ignoreBrowserWarnings
importFunctionName
importMetaName
library
amdContainer
name
type
export
auxiliaryComment
umdNamedDefine
libraryExport
libraryTarget
Expose a Variable
Expose Via Object Assignment
Module Definition Systems