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
  • 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
    • umdAmdContainer
    • name
    • type
    • export
    • auxiliaryComment
    • umdNamedDefine
  • libraryExport
  • libraryTarget
    • Expose a Variable
    • Expose Via Object Assignment
    • Module Definition Systems
    • Other Targets
  • module
  • path
  • pathinfo
  • publicPath
  • resourceHints
    • initial
    • urlHints
    • preconnect
    • modulePreloadPolyfill
    • dedupe
    • manifest
  • scriptType
  • sourceMapFilename
  • sourcePrefix
  • strictModuleErrorHandling
  • strictModuleResolution
  • strictModuleExceptionHandling
  • trustedTypes
    • onPolicyCreationFailure
  • umdNamedDefine
  • uniqueName
  • wasmLoading
  • wasmStreamingFallback
  • webassemblyModuleFilename
  • workerChunkFilename
  • workerChunkLoading
  • workerPublicPath
  • workerWasmLoading
Module
  • defaultRules
  • generator
    • Multiple aliases via exportsConvention
    • css.exportsOnly
    • css.esModule
    • html.extract
  • parser
    • css
    • css.exportType
    • css.as
    • javascript
    • json
    • json.exportsDepth
    • json.namedExports
    • json.parse
    • html
  • noParse
  • unsafeCache
  • rules
  • Rule
    • Rule Conditions
    • Rule results
  • Nested rules
  • Rule.assert
  • Rule.compiler
  • Rule.descriptionRelativePath
  • Rule.enforce
  • Rule.exclude
  • Rule.include
  • Rule.glob
  • Rule.issuer
  • Rule.issuerLayer
  • Rule.layer