Optional amdAdd a container for define/require functions in the AMD module.
Optional assetThe filename of asset modules as relative path inside the 'output.path' directory.
Optional asyncEnable/disable creating async chunks that are loaded on demand.
Optional auxiliaryAdd a comment in the UMD wrapper.
Optional charsetAdd charset attribute for script tag.
Optional chunkSpecifies the filename template of output files of non-initial chunks on disk. You must not specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
Optional chunkThe format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins).
Optional chunkNumber of milliseconds before chunk request expires.
Optional chunkThe method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
Optional chunkThe global variable used by webpack for loading of chunks.
Optional cleanClean the output directory before emit.
Optional compareCheck if to be emitted file already exists and have the same content before writing to output filesystem.
Optional crossThis option enables cross-origin loading of chunks.
Optional cssSpecifies the filename template of non-initial output css files on disk. You must not specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
Optional cssSpecifies the filename template of output css files on disk. You must not specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
Optional devtoolSimilar to output.devtoolModuleFilenameTemplate, but used in the case of duplicate module identifiers.
Optional devtoolFilename template string of function for the sources array in a generated SourceMap.
Optional devtoolModule namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to output.library if not set. It's useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.
Optional enabledList of chunk loading types enabled for use by entry points.
Optional enabledList of library types enabled for use by entry points.
Optional enabledList of wasm loading types enabled for use by entry points.
Optional environmentThe abilities of the environment where the webpack generated code should run.
Optional filenameSpecifies the filename of output files on disk. You must not specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
Optional globalAn expression which is used to address the global object/scope in runtime code.
Optional hashDigest type used for the hash.
Optional hashNumber of chars which are used for the hash.
Optional hashAlgorithm used for generation the hash (see node.js crypto package).
Optional hashAny string which is added to the hash to salt it.
Optional hotThe filename of the Hot Update Chunks. They are inside the output.path directory.
Optional hotThe global variable used by webpack for loading of hot update chunks.
Optional hotThe filename of the Hot Update Main File. It is inside the 'output.path' directory.
Optional ignoreIgnore warnings in the browser.
Optional iifeWrap javascript code into IIFE's to avoid leaking into global scope.
Optional importThe name of the native import() function (can be exchanged for a polyfill).
Optional importThe name of the native import.meta object (can be exchanged for a polyfill).
Optional libraryMake the output files a library, exporting the exports of the entry point.
Optional librarySpecify which export should be exposed as library.
Optional libraryType of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).
Optional moduleOutput javascript files as module source type.
Optional pathThe output directory as absolute path (required).
Optional pathinfoInclude comments with information about the modules.
Optional publicThe 'publicPath' specifies the public URL address of the output files when referenced in a browser.
Optional scriptThis option enables loading async chunks via a custom script type, such as script type="module".
Optional sourceThe filename of the SourceMaps for the JavaScript files. They are inside the 'output.path' directory.
Optional sourcePrefixes every line of the source in the bundle with this string.
Optional strictHandles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.
Optional strictHandles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.
Optional trustedUse a Trusted Types policy to create urls for chunks. 'output.uniqueName' is used a default policy name. Passing a string sets a custom policy name.
Optional umdIf output.libraryTarget is set to umd and output.library is set, setting this to true will name the AMD module.
Optional uniqueA unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.
Optional wasmThe method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
Optional webassemblyThe filename of WebAssembly modules as relative path inside the 'output.path' directory.
Optional workerThe method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
Optional workerWorker public path. Much like the public path, this sets the location where the worker script file is intended to be found. If not set, webpack will use the publicPath. Don't set this option unless your worker scripts are located at a different path from your other script files.
Optional workerThe method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
Generated using TypeDoc
Options affecting the output of the compilation.
outputoptions tell webpack how to write the compiled files to disk.