Skip to content

Latest commit

 

History

History
577 lines (571 loc) · 84 KB

OPTIONS.md

File metadata and controls

577 lines (571 loc) · 84 KB
Usage: webpack [options]
Alternative usage: webpack bundle [options]
Alternative usage: webpack --config <config> [options]
Alternative usage: webpack bundle --config <config> [options]

The build tool for modern web applications.

Options:
  -c, --config <value...>                                                            Provide path to a webpack configuration file e.g. ./webpack.config.js.
  --config-name <value...>                                                           Name of the configuration to use.
  -m, --merge                                                                        Merge two or more configurations using 'webpack-merge'.
  --env <value...>                                                                   Environment passed to the configuration when it is a function.
  -h, --hot                                                                          Enables Hot Module Replacement
  --no-hot                                                                           Disables Hot Module Replacement.
  --analyze                                                                          It invokes webpack-bundle-analyzer plugin to get bundle information.
  --progress [value]                                                                 Print compilation progress during build.
  --prefetch <value>                                                                 Prefetch this request.
  -j, --json [value]                                                                 Prints result as JSON or store it in a file.
  --amd                                                                              You can pass `false` to disable AMD support.
  --no-amd                                                                           Negative 'amd' option.
  --bail                                                                             Report the first error as a hard error instead of tolerating it.
  --no-bail                                                                          Negative 'bail' option.
  --cache                                                                            Enable in memory caching. Disable caching.
  --no-cache                                                                         Negative 'cache' option.
  --cache-type <value>                                                               In memory caching. Filesystem caching.
  --cache-cache-directory <value>                                                    Base directory for the cache (defaults to node_modules/.cache/webpack).
  --cache-cache-location <value>                                                     Locations for the cache (defaults to cacheDirectory / name).
  --cache-hash-algorithm <value>                                                     Algorithm used for generation the hash (see node.js crypto package).
  --cache-idle-timeout <value>                                                       Time in ms after which idle period the cache storing should happen (only for store: 'pack' or 'idle').
  --cache-idle-timeout-for-initial-store <value>                                     Time in ms after which idle period the initial cache storing should happen (only for store: 'pack' or 'idle').
  --cache-immutable-paths <value...>                                                 A path to a immutable directory (usually a package manager cache directory).
  --cache-immutable-paths-reset                                                      Clear all items provided in configuration. List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.
  --cache-managed-paths <value...>                                                   A path to a managed directory (usually a node_modules directory).
  --cache-managed-paths-reset                                                        Clear all items provided in configuration. List of paths that are managed by a package manager and can be trusted to not be modified otherwise.
  --cache-name <value>                                                               Name for the cache. Different names will lead to different coexisting caches.
  --cache-store <value>                                                              When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).
  --cache-version <value>                                                            Version of the cache data. Different versions won't allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn't allow to reuse cache. This will invalidate the cache.
  --context <value>                                                                  The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.
  --dependencies <value...>                                                          References to another configuration to depend on.
  --dependencies-reset                                                               Clear all items provided in configuration. References to other configurations to depend on.
  -d, --devtool <value>                                                              Determine source maps to use.
  --no-devtool                                                                       Do not generate source maps.
  --entry <value...>                                                                 The entry point(s) of your application e.g. ./src/main.js.
  --entry-reset                                                                      Clear all items provided in configuration. All modules are loaded upon startup. The last one is exported.
  --experiments-asset                                                                Allow module type 'asset' to generate assets.
  --no-experiments-asset                                                             Negative 'experiments-asset' option.
  --experiments-async-web-assembly                                                   Support WebAssembly as asynchronous EcmaScript Module.
  --no-experiments-async-web-assembly                                                Negative 'experiments-async-web-assembly' option.
  --experiments-output-module                                                        Allow output javascript files as module source type.
  --no-experiments-output-module                                                     Negative 'experiments-output-module' option.
  --experiments-sync-web-assembly                                                    Support WebAssembly as synchronous EcmaScript Module (outdated).
  --no-experiments-sync-web-assembly                                                 Negative 'experiments-sync-web-assembly' option.
  --experiments-top-level-await                                                      Allow using top-level-await in EcmaScript Modules.
  --no-experiments-top-level-await                                                   Negative 'experiments-top-level-await' option.
  --externals <value...>                                                             Every matched dependency becomes external. An exact matched dependency becomes external. The same string is used as external dependency.
  --externals-reset                                                                  Clear all items provided in configuration. Specify dependencies that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.
  --externals-presets-electron                                                       Treat common electron built-in modules in main and preload context like 'electron', 'ipc' or 'shell' as external and load them via require() when used.
  --no-externals-presets-electron                                                    Negative 'externals-presets-electron' option.
  --externals-presets-electron-main                                                  Treat electron built-in modules in the main context like 'app', 'ipc-main' or 'shell' as external and load them via require() when used.
  --no-externals-presets-electron-main                                               Negative 'externals-presets-electron-main' option.
  --externals-presets-electron-preload                                               Treat electron built-in modules in the preload context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.
  --no-externals-presets-electron-preload                                            Negative 'externals-presets-electron-preload' option.
  --externals-presets-electron-renderer                                              Treat electron built-in modules in the renderer context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.
  --no-externals-presets-electron-renderer                                           Negative 'externals-presets-electron-renderer' option.
  --externals-presets-node                                                           Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.
  --no-externals-presets-node                                                        Negative 'externals-presets-node' option.
  --externals-presets-nwjs                                                           Treat NW.js legacy nw.gui module as external and load it via require() when used.
  --no-externals-presets-nwjs                                                        Negative 'externals-presets-nwjs' option.
  --externals-presets-web                                                            Treat references to 'http(s)://...' and 'std:...' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).
  --no-externals-presets-web                                                         Negative 'externals-presets-web' option.
  --externals-presets-web-async                                                      Treat references to 'http(s)://...' and 'std:...' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).
  --no-externals-presets-web-async                                                   Negative 'externals-presets-web-async' option.
  --externals-type <value>                                                           Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).
  --ignore-warnings <value...>                                                       A RegExp to select the warning message.
  --ignore-warnings-file <value...>                                                  A RegExp to select the origin file for the warning.
  --ignore-warnings-message <value...>                                               A RegExp to select the warning message.
  --ignore-warnings-module <value...>                                                A RegExp to select the origin module for the warning.
  --ignore-warnings-reset                                                            Clear all items provided in configuration. Ignore specific warnings.
  --infrastructure-logging-debug <value...>                                          Enable/Disable debug logging for all loggers. Enable debug logging for specific loggers.
  --infrastructure-logging-debug-reset                                               Clear all items provided in configuration. Enable debug logging for specific loggers.
  --infrastructure-logging-level <value>                                             Log level.
  --mode <value>                                                                     Defines the mode to pass to webpack.
  --module-expr-context-critical                                                     Enable warnings for full dynamic dependencies.
  --no-module-expr-context-critical                                                  Negative 'module-expr-context-critical' option.
  --module-expr-context-recursive                                                    Enable recursive directory lookup for full dynamic dependencies.
  --no-module-expr-context-recursive                                                 Negative 'module-expr-context-recursive' option.
  --module-expr-context-reg-exp <value>                                              Sets the default regular expression for full dynamic dependencies.
  --module-expr-context-request <value>                                              Set the default request for full dynamic dependencies.
  --module-no-parse <value...>                                                       A regular expression, when matched the module is not parsed. An absolute path, when the module starts with this path it is not parsed.
  --module-no-parse-reset                                                            Clear all items provided in configuration. Don't parse files matching. It's matched against the full resolved request.
  --module-rules-compiler <value...>                                                 Match the child compiler name.
  --module-rules-dependency <value...>                                               Match dependency type.
  --module-rules-enforce <value...>                                                  Enforce this rule as pre or post step.
  --module-rules-exclude <value...>                                                  Shortcut for resource.exclude.
  --module-rules-include <value...>                                                  Shortcut for resource.include.
  --module-rules-issuer <value...>                                                   Match the issuer of the module (The module pointing to this module).
  --module-rules-loader <value...>                                                   A loader request.
  --module-rules-mimetype <value...>                                                 Match module mimetype when load from Data URI.
  --module-rules-real-resource <value...>                                            Match the real resource path of the module.
  --module-rules-resource <value...>                                                 Match the resource path of the module.
  --module-rules-resource-fragment <value...>                                        Match the resource fragment of the module.
  --module-rules-resource-query <value...>                                           Match the resource query of the module.
  --module-rules-side-effects                                                        Flags a module as with or without side effects.
  --no-module-rules-side-effects                                                     Negative 'module-rules-side-effects' option.
  --module-rules-test <value...>                                                     Shortcut for resource.test.
  --module-rules-type <value...>                                                     Module type to use for the module.
  --module-rules-use-ident <value...>                                                Unique loader options identifier.
  --module-rules-use-loader <value...>                                               A loader request.
  --module-rules-use-options <value...>                                              Options passed to a loader.
  --module-rules-use <value...>                                                      A loader request.
  --module-rules-reset                                                               Clear all items provided in configuration. A list of rules.
  --module-strict-export-presence                                                    Emit errors instead of warnings when imported names don't exist in imported module.
  --no-module-strict-export-presence                                                 Negative 'module-strict-export-presence' option.
  --module-strict-this-context-on-imports                                            Handle the this context correctly according to the spec for namespace objects.
  --no-module-strict-this-context-on-imports                                         Negative 'module-strict-this-context-on-imports' option.
  --module-unknown-context-critical                                                  Enable warnings when using the require function in a not statically analyse-able way.
  --no-module-unknown-context-critical                                               Negative 'module-unknown-context-critical' option.
  --module-unknown-context-recursive                                                 Enable recursive directory lookup when using the require function in a not statically analyse-able way.
  --no-module-unknown-context-recursive                                              Negative 'module-unknown-context-recursive' option.
  --module-unknown-context-reg-exp <value>                                           Sets the regular expression when using the require function in a not statically analyse-able way.
  --module-unknown-context-request <value>                                           Sets the request when using the require function in a not statically analyse-able way.
  --module-unsafe-cache                                                              Cache the resolving of module requests.
  --no-module-unsafe-cache                                                           Negative 'module-unsafe-cache' option.
  --module-wrapped-context-critical                                                  Enable warnings for partial dynamic dependencies.
  --no-module-wrapped-context-critical                                               Negative 'module-wrapped-context-critical' option.
  --module-wrapped-context-recursive                                                 Enable recursive directory lookup for partial dynamic dependencies.
  --no-module-wrapped-context-recursive                                              Negative 'module-wrapped-context-recursive' option.
  --module-wrapped-context-reg-exp <value>                                           Set the inner regular expression for partial dynamic dependencies.
  --name <value>                                                                     Name of the configuration. Used when loading multiple configurations.
  --node                                                                             Include polyfills or mocks for various node stuff.
  --no-node                                                                          Negative 'node' option.
  --node-dirname <value>                                                             Include a polyfill for the '__dirname' variable.
  --node-filename <value>                                                            Include a polyfill for the '__filename' variable.
  --node-global                                                                      Include a polyfill for the 'global' variable.
  --no-node-global                                                                   Negative 'node-global' option.
  --optimization-check-wasm-types                                                    Check for incompatible wasm types when importing/exporting from/to ESM.
  --no-optimization-check-wasm-types                                                 Negative 'optimization-check-wasm-types' option.
  --optimization-chunk-ids <value>                                                   Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).
  --optimization-concatenate-modules                                                 Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.
  --no-optimization-concatenate-modules                                              Negative 'optimization-concatenate-modules' option.
  --optimization-emit-on-errors                                                      Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.
  --no-optimization-emit-on-errors                                                   Negative 'optimization-emit-on-errors' option.
  --optimization-flag-included-chunks                                                Also flag chunks as loaded which contain a subset of the modules.
  --no-optimization-flag-included-chunks                                             Negative 'optimization-flag-included-chunks' option.
  --optimization-inner-graph                                                         Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.
  --no-optimization-inner-graph                                                      Negative 'optimization-inner-graph' option.
  --optimization-mangle-exports <value>                                              Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/"deterministic": generate short deterministic names optimized for caching, "size": generate the shortest possible names).
  --optimization-mangle-wasm-imports                                                 Reduce size of WASM by changing imports to shorter strings.
  --no-optimization-mangle-wasm-imports                                              Negative 'optimization-mangle-wasm-imports' option.
  --optimization-merge-duplicate-chunks                                              Merge chunks which contain the same modules.
  --no-optimization-merge-duplicate-chunks                                           Negative 'optimization-merge-duplicate-chunks' option.
  --optimization-minimize                                                            Enable minimizing the output. Uses optimization.minimizer.
  --no-optimization-minimize                                                         Negative 'optimization-minimize' option.
  --optimization-module-ids <value>                                                  Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).
  --optimization-node-env <value>                                                    Set process.env.NODE_ENV to a specific value.
  --optimization-portable-records                                                    Generate records with relative paths to be able to move the context folder.
  --no-optimization-portable-records                                                 Negative 'optimization-portable-records' option.
  --optimization-provided-exports                                                    Figure out which exports are provided by modules to generate more efficient code.
  --no-optimization-provided-exports                                                 Negative 'optimization-provided-exports' option.
  --optimization-real-content-hash                                                   Use real [contenthash] based on final content of the assets.
  --no-optimization-real-content-hash                                                Negative 'optimization-real-content-hash' option.
  --optimization-remove-available-modules                                            Removes modules from chunks when these modules are already included in all parents.
  --no-optimization-remove-available-modules                                         Negative 'optimization-remove-available-modules' option.
  --optimization-remove-empty-chunks                                                 Remove chunks which are empty.
  --no-optimization-remove-empty-chunks                                              Negative 'optimization-remove-empty-chunks' option.
  --optimization-runtime-chunk <value>                                               Create an additional chunk which contains only the webpack runtime and chunk hash maps.
  --optimization-runtime-chunk-name <value>                                          The name or name factory for the runtime chunks.
  --optimization-side-effects <value>                                                Skip over modules which contain no side effects when exports are not used (false: disabled, 'flag': only use manually placed side effects flag, true: also analyse source code for side effects).
  --optimization-split-chunks                                                        Optimize duplication and caching by splitting chunks by shared modules and cache group.
  --no-optimization-split-chunks                                                     Negative 'optimization-split-chunks' option.
  --optimization-split-chunks-automatic-name-delimiter <value>                       Sets the name delimiter for created chunks.
  --optimization-split-chunks-chunks <value>                                         Select chunks for determining shared modules (defaults to "async", "initial" and "all" requires adding these chunks to the HTML).
  --optimization-split-chunks-default-size-types <value...>                          Size type, like 'javascript', 'webassembly'.
  --optimization-split-chunks-default-size-types-reset                               Clear all items provided in configuration. Sets the size types which are used when a number is used for sizes.
  --optimization-split-chunks-enforce-size-threshold <value>                         Size of the javascript part of the chunk.
  --optimization-split-chunks-fallback-cache-group-automatic-name-delimiter <value>  Sets the name delimiter for created chunks.
  --optimization-split-chunks-fallback-cache-group-max-async-size <value>            Size of the javascript part of the chunk.
  --optimization-split-chunks-fallback-cache-group-max-initial-size <value>          Size of the javascript part of the chunk.
  --optimization-split-chunks-fallback-cache-group-max-size <value>                  Size of the javascript part of the chunk.
  --optimization-split-chunks-fallback-cache-group-min-size <value>                  Size of the javascript part of the chunk.
  --optimization-split-chunks-filename <value>                                       Sets the template for the filename for created chunks.
  --optimization-split-chunks-hide-path-info                                         Prevents exposing path info when creating names for parts splitted by maxSize.
  --no-optimization-split-chunks-hide-path-info                                      Negative 'optimization-split-chunks-hide-path-info' option.
  --optimization-split-chunks-max-async-requests <value>                             Maximum number of requests which are accepted for on-demand loading.
  --optimization-split-chunks-max-async-size <value>                                 Size of the javascript part of the chunk.
  --optimization-split-chunks-max-initial-requests <value>                           Maximum number of initial chunks which are accepted for an entry point.
  --optimization-split-chunks-max-initial-size <value>                               Size of the javascript part of the chunk.
  --optimization-split-chunks-max-size <value>                                       Size of the javascript part of the chunk.
  --optimization-split-chunks-min-chunks <value>                                     Minimum number of times a module has to be duplicated until it's considered for splitting.
  --optimization-split-chunks-min-remaining-size <value>                             Size of the javascript part of the chunk.
  --optimization-split-chunks-min-size <value>                                       Size of the javascript part of the chunk.
  --optimization-split-chunks-name <value>                                           Give chunks created a name (chunks with equal name are merged).
  --optimization-split-chunks-used-exports                                           Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.
  --no-optimization-split-chunks-used-exports                                        Negative 'optimization-split-chunks-used-exports' option.
  --optimization-used-exports <value>                                                Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, "global": analyse exports globally for all runtimes combined).
  --output-asset-module-filename <value>                                             The filename of asset modules as relative path inside the `output.path` directory.
  --output-charset                                                                   Add charset attribute for script tag.
  --no-output-charset                                                                Negative 'output-charset' option.
  --output-chunk-filename <value>                                                    The filename of non-initial chunks as relative path inside the `output.path` directory.
  --output-chunk-format <value>                                                      The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), but others might be added by plugins).
  --output-chunk-load-timeout <value>                                                Number of milliseconds before chunk request expires.
  --output-chunk-loading <value>                                                     The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
  --output-chunk-loading-global <value>                                              The global variable used by webpack for loading of chunks.
  --output-compare-before-emit                                                       Check if to be emitted file already exists and have the same content before writing to output filesystem.
  --no-output-compare-before-emit                                                    Negative 'output-compare-before-emit' option.
  --output-cross-origin-loading <value>                                              This option enables cross-origin loading of chunks.
  --output-devtool-fallback-module-filename-template <value>                         Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.
  --output-devtool-module-filename-template <value>                                  Filename template string of function for the sources array in a generated SourceMap.
  --output-devtool-namespace <value>                                                 Module 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.
  --output-enabled-chunk-loading-types <value...>                                    The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
  --output-enabled-chunk-loading-types-reset                                         Clear all items provided in configuration. List of chunk loading types enabled for use by entry points.
  --output-enabled-library-types <value...>                                          Type of library (types included by default are 'var', 'module', 'assign', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).
  --output-enabled-library-types-reset                                               Clear all items provided in configuration. List of library types enabled for use by entry points.
  --output-enabled-wasm-loading-types <value...>                                     The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
  --output-enabled-wasm-loading-types-reset                                          Clear all items provided in configuration. List of wasm loading types enabled for use by entry points.
  --output-environment-arrow-function                                                The environment supports arrow functions ('() => { ... }').
  --no-output-environment-arrow-function                                             Negative 'output-environment-arrow-function' option.
  --output-environment-big-int-literal                                               The environment supports BigInt as literal (123n).
  --no-output-environment-big-int-literal                                            Negative 'output-environment-big-int-literal' option.
  --output-environment-const                                                         The environment supports const and let for variable declarations.
  --no-output-environment-const                                                      Negative 'output-environment-const' option.
  --output-environment-destructuring                                                 The environment supports destructuring ('{ a, b } = obj').
  --no-output-environment-destructuring                                              Negative 'output-environment-destructuring' option.
  --output-environment-dynamic-import                                                The environment supports an async import() function to import EcmaScript modules.
  --no-output-environment-dynamic-import                                             Negative 'output-environment-dynamic-import' option.
  --output-environment-for-of                                                        The environment supports 'for of' iteration ('for (const x of array) { ... }').
  --no-output-environment-for-of                                                     Negative 'output-environment-for-of' option.
  --output-environment-module                                                        The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').
  --no-output-environment-module                                                     Negative 'output-environment-module' option.
  --output-filename <value>                                                          Specifies the name of each output file on disk. You must **not** specify an absolute path here! The `output.path` option determines the location on disk the files are written to, filename is used solely for naming the individual files.
  --output-global-object <value>                                                     An expression which is used to address the global object/scope in runtime code.
  --output-hash-digest <value>                                                       Digest type used for the hash.
  --output-hash-digest-length <value>                                                Number of chars which are used for the hash.
  --output-hash-function <value>                                                     Algorithm used for generation the hash (see node.js crypto package).
  --output-hash-salt <value>                                                         Any string which is added to the hash to salt it.
  --output-hot-update-chunk-filename <value>                                         The filename of the Hot Update Chunks. They are inside the output.path directory.
  --output-hot-update-global <value>                                                 The global variable used by webpack for loading of hot update chunks.
  --output-hot-update-main-filename <value>                                          The filename of the Hot Update Main File. It is inside the `output.path` directory.
  --output-iife                                                                      Wrap javascript code into IIFE's to avoid leaking into global scope.
  --no-output-iife                                                                   Negative 'output-iife' option.
  --output-import-function-name <value>                                              The name of the native import() function (can be exchanged for a polyfill).
  --output-import-meta-name <value>                                                  The name of the native import.meta object (can be exchanged for a polyfill).
  --output-library <value...>                                                        A part of the library name.
  --output-library-reset                                                             Clear all items provided in configuration. The name of the library (some types allow unnamed libraries too).
  --output-library-amd <value>                                                       Name of the exposed AMD library in the UMD.
  --output-library-commonjs <value>                                                  Name of the exposed commonjs export in the UMD.
  --output-library-root <value...>                                                   Part of the name of the property exposed globally by a UMD library.
  --output-library-root-reset                                                        Clear all items provided in configuration. Name of the property exposed globally by a UMD library.
  --output-library-auxiliary-comment <value>                                         Append the same comment above each import style.
  --output-library-auxiliary-comment-amd <value>                                     Set comment for `amd` section in UMD.
  --output-library-auxiliary-comment-commonjs <value>                                Set comment for `commonjs` (exports) section in UMD.
  --output-library-auxiliary-comment-commonjs2 <value>                               Set comment for `commonjs2` (module.exports) section in UMD.
  --output-library-auxiliary-comment-root <value>                                    Set comment for `root` (global variable) section in UMD.
  --output-library-export <value...>                                                 Part of the export that should be exposed as library.
  --output-library-export-reset                                                      Clear all items provided in configuration. Specify which export should be exposed as library.
  --output-library-name <value...>                                                   A part of the library name.
  --output-library-name-reset                                                        Clear all items provided in configuration. The name of the library (some types allow unnamed libraries too).
  --output-library-name-amd <value>                                                  Name of the exposed AMD library in the UMD.
  --output-library-name-commonjs <value>                                             Name of the exposed commonjs export in the UMD.
  --output-library-name-root <value...>                                              Part of the name of the property exposed globally by a UMD library.
  --output-library-name-root-reset                                                   Clear all items provided in configuration. Name of the property exposed globally by a UMD library.
  --output-library-type <value>                                                      Type of library (types included by default are 'var', 'module', 'assign', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).
  --output-library-umd-named-define                                                  If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.
  --no-output-library-umd-named-define                                               Negative 'output-library-umd-named-define' option.
  --output-module                                                                    Output javascript files as module source type.
  --no-output-module                                                                 Negative 'output-module' option.
  -o, --output-path <value>                                                          Output location of the file generated by webpack e.g. ./dist/.
  --output-pathinfo                                                                  Include comments with information about the modules.
  --no-output-pathinfo                                                               Negative 'output-pathinfo' option.
  --output-public-path <value>                                                       The `publicPath` specifies the public URL address of the output files when referenced in a browser.
  --output-script-type <value>                                                       This option enables loading async chunks via a custom script type, such as script type="module".
  --output-source-map-filename <value>                                               The filename of the SourceMaps for the JavaScript files. They are inside the `output.path` directory.
  --output-source-prefix <value>                                                     Prefixes every line of the source in the bundle with this string.
  --output-strict-module-exception-handling                                          Handles exceptions in module loading correctly at a performance cost.
  --no-output-strict-module-exception-handling                                       Negative 'output-strict-module-exception-handling' option.
  --output-unique-name <value>                                                       A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.
  --output-wasm-loading <value>                                                      The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
  --output-webassembly-module-filename <value>                                       The filename of WebAssembly modules as relative path inside the `output.path` directory.
  --output-worker-chunk-loading <value>                                              The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
  --output-worker-wasm-loading <value>                                               The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).
  --parallelism <value>                                                              The number of parallel processed modules in the compilation.
  --performance                                                                      Configuration for web performance recommendations.
  --no-performance                                                                   Negative 'performance' option.
  --performance-hints <value>                                                        Sets the format of the hints: warnings, errors or nothing at all.
  --performance-max-asset-size <value>                                               File size limit (in bytes) when exceeded, that webpack will provide performance hints.
  --performance-max-entrypoint-size <value>                                          Total size of an entry point (in bytes).
  --profile                                                                          Capture timing information for each module.
  --no-profile                                                                       Negative 'profile' option.
  --records-input-path <value>                                                       Store compiler state to a json file.
  --records-output-path <value>                                                      Load compiler state from a json file.
  --records-path <value>                                                             Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.
  --resolve-alias-alias <value...>                                                   Ignore request (replace with empty module). New request.
  --resolve-alias-name <value...>                                                    Request to be redirected.
  --resolve-alias-only-module                                                        Redirect only exact matching request.
  --no-resolve-alias-only-module                                                     Negative 'resolve-alias-only-module' option.
  --resolve-alias-reset                                                              Clear all items provided in configuration. Redirect module requests.
  --resolve-alias-fields <value...>                                                  Field in the description file (usually package.json) which are used to redirect requests inside the module.
  --resolve-alias-fields-reset                                                       Clear all items provided in configuration. Fields in the description file (usually package.json) which are used to redirect requests inside the module.
  --resolve-cache                                                                    Enable caching of successfully resolved requests (cache entries are revalidated).
  --no-resolve-cache                                                                 Negative 'resolve-cache' option.
  --resolve-cache-with-context                                                       Include the context information in the cache identifier when caching.
  --no-resolve-cache-with-context                                                    Negative 'resolve-cache-with-context' option.
  --resolve-condition-names <value...>                                               Condition names for exports field entry point.
  --resolve-condition-names-reset                                                    Clear all items provided in configuration. Condition names for exports field entry point.
  --resolve-description-files <value...>                                             Filename used to find a description file (like a package.json).
  --resolve-description-files-reset                                                  Clear all items provided in configuration. Filenames used to find a description file (like a package.json).
  --resolve-enforce-extension                                                        Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).
  --no-resolve-enforce-extension                                                     Negative 'resolve-enforce-extension' option.
  --resolve-exports-fields <value...>                                                Field name from the description file (usually package.json) which is used to provide entry points of a package.
  --resolve-exports-fields-reset                                                     Clear all items provided in configuration. Field names from the description file (usually package.json) which are used to provide entry points of a package.
  --resolve-extensions <value...>                                                    Extension added to the request when trying to find the file.
  --resolve-extensions-reset                                                         Clear all items provided in configuration. Extensions added to the request when trying to find the file.
  --resolve-fallback-alias <value...>                                                Ignore request (replace with empty module). New request.
  --resolve-fallback-name <value...>                                                 Request to be redirected.
  --resolve-fallback-only-module                                                     Redirect only exact matching request.
  --no-resolve-fallback-only-module                                                  Negative 'resolve-fallback-only-module' option.
  --resolve-fallback-reset                                                           Clear all items provided in configuration. Redirect module requests.
  --resolve-fully-specified                                                          Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn't affect requests from mainFields, aliasFields or aliases).
  --no-resolve-fully-specified                                                       Negative 'resolve-fully-specified' option.
  --resolve-imports-fields <value...>                                                Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).
  --resolve-imports-fields-reset                                                     Clear all items provided in configuration. Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).
  --resolve-main-fields <value...>                                                   Field name from the description file (package.json) which are used to find the default entry point.
  --resolve-main-fields-reset                                                        Clear all items provided in configuration. Field names from the description file (package.json) which are used to find the default entry point.
  --resolve-main-files <value...>                                                    Filename used to find the default entry point if there is no description file or main field.
  --resolve-main-files-reset                                                         Clear all items provided in configuration. Filenames used to find the default entry point if there is no description file or main field.
  --resolve-modules <value...>                                                       Folder name or directory path where to find modules.
  --resolve-modules-reset                                                            Clear all items provided in configuration. Folder names or directory paths where to find modules.
  --resolve-prefer-relative                                                          Prefer to resolve module requests as relative request and fallback to resolving as module.
  --no-resolve-prefer-relative                                                       Negative 'resolve-prefer-relative' option.
  --resolve-restrictions <value...>                                                  Resolve restriction. Resolve result must fulfill this restriction.
  --resolve-restrictions-reset                                                       Clear all items provided in configuration. A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.
  --resolve-roots <value...>                                                         Directory in which requests that are server-relative URLs (starting with '/') are resolved.
  --resolve-roots-reset                                                              Clear all items provided in configuration. A list of directories in which requests that are server-relative URLs (starting with '/') are resolved. On non-windows system these requests are tried to resolve as absolute path first.
  --resolve-symlinks                                                                 Enable resolving symlinks to the original location.
  --no-resolve-symlinks                                                              Negative 'resolve-symlinks' option.
  --resolve-unsafe-cache                                                             Enable caching of successfully resolved requests (cache entries are not revalidated).
  --no-resolve-unsafe-cache                                                          Negative 'resolve-unsafe-cache' option.
  --resolve-use-sync-file-system-calls                                               Use synchronous filesystem calls for the resolver.
  --no-resolve-use-sync-file-system-calls                                            Negative 'resolve-use-sync-file-system-calls' option.
  --resolve-loader-alias-alias <value...>                                            Ignore request (replace with empty module). New request.
  --resolve-loader-alias-name <value...>                                             Request to be redirected.
  --resolve-loader-alias-only-module                                                 Redirect only exact matching request.
  --no-resolve-loader-alias-only-module                                              Negative 'resolve-loader-alias-only-module' option.
  --resolve-loader-alias-reset                                                       Clear all items provided in configuration. Redirect module requests.
  --resolve-loader-alias-fields <value...>                                           Field in the description file (usually package.json) which are used to redirect requests inside the module.
  --resolve-loader-alias-fields-reset                                                Clear all items provided in configuration. Fields in the description file (usually package.json) which are used to redirect requests inside the module.
  --resolve-loader-cache                                                             Enable caching of successfully resolved requests (cache entries are revalidated).
  --no-resolve-loader-cache                                                          Negative 'resolve-loader-cache' option.
  --resolve-loader-cache-with-context                                                Include the context information in the cache identifier when caching.
  --no-resolve-loader-cache-with-context                                             Negative 'resolve-loader-cache-with-context' option.
  --resolve-loader-condition-names <value...>                                        Condition names for exports field entry point.
  --resolve-loader-condition-names-reset                                             Clear all items provided in configuration. Condition names for exports field entry point.
  --resolve-loader-description-files <value...>                                      Filename used to find a description file (like a package.json).
  --resolve-loader-description-files-reset                                           Clear all items provided in configuration. Filenames used to find a description file (like a package.json).
  --resolve-loader-enforce-extension                                                 Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).
  --no-resolve-loader-enforce-extension                                              Negative 'resolve-loader-enforce-extension' option.
  --resolve-loader-exports-fields <value...>                                         Field name from the description file (usually package.json) which is used to provide entry points of a package.
  --resolve-loader-exports-fields-reset                                              Clear all items provided in configuration. Field names from the description file (usually package.json) which are used to provide entry points of a package.
  --resolve-loader-extensions <value...>                                             Extension added to the request when trying to find the file.
  --resolve-loader-extensions-reset                                                  Clear all items provided in configuration. Extensions added to the request when trying to find the file.
  --resolve-loader-fallback-alias <value...>                                         Ignore request (replace with empty module). New request.
  --resolve-loader-fallback-name <value...>                                          Request to be redirected.
  --resolve-loader-fallback-only-module                                              Redirect only exact matching request.
  --no-resolve-loader-fallback-only-module                                           Negative 'resolve-loader-fallback-only-module' option.
  --resolve-loader-fallback-reset                                                    Clear all items provided in configuration. Redirect module requests.
  --resolve-loader-fully-specified                                                   Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn't affect requests from mainFields, aliasFields or aliases).
  --no-resolve-loader-fully-specified                                                Negative 'resolve-loader-fully-specified' option.
  --resolve-loader-imports-fields <value...>                                         Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).
  --resolve-loader-imports-fields-reset                                              Clear all items provided in configuration. Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).
  --resolve-loader-main-fields <value...>                                            Field name from the description file (package.json) which are used to find the default entry point.
  --resolve-loader-main-fields-reset                                                 Clear all items provided in configuration. Field names from the description file (package.json) which are used to find the default entry point.
  --resolve-loader-main-files <value...>                                             Filename used to find the default entry point if there is no description file or main field.
  --resolve-loader-main-files-reset                                                  Clear all items provided in configuration. Filenames used to find the default entry point if there is no description file or main field.
  --resolve-loader-modules <value...>                                                Folder name or directory path where to find modules.
  --resolve-loader-modules-reset                                                     Clear all items provided in configuration. Folder names or directory paths where to find modules.
  --resolve-loader-prefer-relative                                                   Prefer to resolve module requests as relative request and fallback to resolving as module.
  --no-resolve-loader-prefer-relative                                                Negative 'resolve-loader-prefer-relative' option.
  --resolve-loader-restrictions <value...>                                           Resolve restriction. Resolve result must fulfill this restriction.
  --resolve-loader-restrictions-reset                                                Clear all items provided in configuration. A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.
  --resolve-loader-roots <value...>                                                  Directory in which requests that are server-relative URLs (starting with '/') are resolved.
  --resolve-loader-roots-reset                                                       Clear all items provided in configuration. A list of directories in which requests that are server-relative URLs (starting with '/') are resolved. On non-windows system these requests are tried to resolve as absolute path first.
  --resolve-loader-symlinks                                                          Enable resolving symlinks to the original location.
  --no-resolve-loader-symlinks                                                       Negative 'resolve-loader-symlinks' option.
  --resolve-loader-unsafe-cache                                                      Enable caching of successfully resolved requests (cache entries are not revalidated).
  --no-resolve-loader-unsafe-cache                                                   Negative 'resolve-loader-unsafe-cache' option.
  --resolve-loader-use-sync-file-system-calls                                        Use synchronous filesystem calls for the resolver.
  --no-resolve-loader-use-sync-file-system-calls                                     Negative 'resolve-loader-use-sync-file-system-calls' option.
  --snapshot-build-dependencies-hash                                                 Use hashes of the content of the files/directories to determine invalidation.
  --no-snapshot-build-dependencies-hash                                              Negative 'snapshot-build-dependencies-hash' option.
  --snapshot-build-dependencies-timestamp                                            Use timestamps of the files/directories to determine invalidation.
  --no-snapshot-build-dependencies-timestamp                                         Negative 'snapshot-build-dependencies-timestamp' option.
  --snapshot-immutable-paths <value...>                                              A path to a immutable directory (usually a package manager cache directory).
  --snapshot-immutable-paths-reset                                                   Clear all items provided in configuration. List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.
  --snapshot-managed-paths <value...>                                                A path to a managed directory (usually a node_modules directory).
  --snapshot-managed-paths-reset                                                     Clear all items provided in configuration. List of paths that are managed by a package manager and can be trusted to not be modified otherwise.
  --snapshot-module-hash                                                             Use hashes of the content of the files/directories to determine invalidation.
  --no-snapshot-module-hash                                                          Negative 'snapshot-module-hash' option.
  --snapshot-module-timestamp                                                        Use timestamps of the files/directories to determine invalidation.
  --no-snapshot-module-timestamp                                                     Negative 'snapshot-module-timestamp' option.
  --snapshot-resolve-hash                                                            Use hashes of the content of the files/directories to determine invalidation.
  --no-snapshot-resolve-hash                                                         Negative 'snapshot-resolve-hash' option.
  --snapshot-resolve-timestamp                                                       Use timestamps of the files/directories to determine invalidation.
  --no-snapshot-resolve-timestamp                                                    Negative 'snapshot-resolve-timestamp' option.
  --snapshot-resolve-build-dependencies-hash                                         Use hashes of the content of the files/directories to determine invalidation.
  --no-snapshot-resolve-build-dependencies-hash                                      Negative 'snapshot-resolve-build-dependencies-hash' option.
  --snapshot-resolve-build-dependencies-timestamp                                    Use timestamps of the files/directories to determine invalidation.
  --no-snapshot-resolve-build-dependencies-timestamp                                 Negative 'snapshot-resolve-build-dependencies-timestamp' option.
  --stats [value]                                                                    It instructs webpack on how to treat the stats e.g. verbose.
  --no-stats                                                                         Disable stats output.
  --stats-all                                                                        Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).
  --no-stats-all                                                                     Negative 'stats-all' option.
  --stats-assets                                                                     Add assets information.
  --no-stats-assets                                                                  Negative 'stats-assets' option.
  --stats-assets-sort <value>                                                        Sort the assets by that field.
  --stats-assets-space <value>                                                       Space to display assets (groups will be collapsed to fit this space).
  --stats-built-at                                                                   Add built at time information.
  --no-stats-built-at                                                                Negative 'stats-built-at' option.
  --stats-cached                                                                     Add information about cached (not built) modules.
  --no-stats-cached                                                                  Negative 'stats-cached' option.
  --stats-cached-assets                                                              Show cached assets (setting this to `false` only shows emitted files).
  --no-stats-cached-assets                                                           Negative 'stats-cached-assets' option.
  --stats-cached-modules                                                             Add information about cached (not built) modules.
  --no-stats-cached-modules                                                          Negative 'stats-cached-modules' option.
  --stats-children                                                                   Add children information.
  --no-stats-children                                                                Negative 'stats-children' option.
  --stats-chunk-group-auxiliary                                                      Display auxiliary assets in chunk groups.
  --no-stats-chunk-group-auxiliary                                                   Negative 'stats-chunk-group-auxiliary' option.
  --stats-chunk-group-children                                                       Display children of chunk groups.
  --no-stats-chunk-group-children                                                    Negative 'stats-chunk-group-children' option.
  --stats-chunk-group-max-assets <value>                                             Limit of assets displayed in chunk groups.
  --stats-chunk-groups                                                               Display all chunk groups with the corresponding bundles.
  --no-stats-chunk-groups                                                            Negative 'stats-chunk-groups' option.
  --stats-chunk-modules                                                              Add built modules information to chunk information.
  --no-stats-chunk-modules                                                           Negative 'stats-chunk-modules' option.
  --stats-chunk-origins                                                              Add the origins of chunks and chunk merging info.
  --no-stats-chunk-origins                                                           Negative 'stats-chunk-origins' option.
  --stats-chunk-relations                                                            Add information about parent, children and sibling chunks to chunk information.
  --no-stats-chunk-relations                                                         Negative 'stats-chunk-relations' option.
  --stats-chunks                                                                     Add chunk information.
  --no-stats-chunks                                                                  Negative 'stats-chunks' option.
  --stats-chunks-sort <value>                                                        Sort the chunks by that field.
  --stats-colors                                                                     Enables/Disables colorful output.
  --no-stats-colors                                                                  Negative 'stats-colors' option.
  --stats-colors-bold <value>                                                        Custom color for bold text.
  --stats-colors-cyan <value>                                                        Custom color for cyan text.
  --stats-colors-green <value>                                                       Custom color for green text.
  --stats-colors-magenta <value>                                                     Custom color for magenta text.
  --stats-colors-red <value>                                                         Custom color for red text.
  --stats-colors-yellow <value>                                                      Custom color for yellow text.
  --stats-context <value>                                                            Context directory for request shortening.
  --stats-dependent-modules                                                          Show chunk modules that are dependencies of other modules of the chunk.
  --no-stats-dependent-modules                                                       Negative 'stats-dependent-modules' option.
  --stats-depth                                                                      Add module depth in module graph.
  --no-stats-depth                                                                   Negative 'stats-depth' option.
  --stats-entrypoints <value>                                                        Display the entry points with the corresponding bundles.
  --stats-env                                                                        Add --env information.
  --no-stats-env                                                                     Negative 'stats-env' option.
  --stats-error-details                                                              Add details to errors (like resolving log).
  --no-stats-error-details                                                           Negative 'stats-error-details' option.
  --stats-error-stack                                                                Add internal stack trace to errors.
  --no-stats-error-stack                                                             Negative 'stats-error-stack' option.
  --stats-errors                                                                     Add errors.
  --no-stats-errors                                                                  Negative 'stats-errors' option.
  --stats-errors-count                                                               Add errors count.
  --no-stats-errors-count                                                            Negative 'stats-errors-count' option.
  --stats-exclude-assets <value...>                                                  Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.
  --stats-exclude-assets-reset                                                       Clear all items provided in configuration. Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.
  --stats-exclude-modules <value...>                                                 Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.
  --stats-exclude-modules-reset                                                      Clear all items provided in configuration. Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.
  --stats-group-assets-by-chunk                                                      Group assets by how their are related to chunks.
  --no-stats-group-assets-by-chunk                                                   Negative 'stats-group-assets-by-chunk' option.
  --stats-group-assets-by-emit-status                                                Group assets by their status (emitted, compared for emit or cached).
  --no-stats-group-assets-by-emit-status                                             Negative 'stats-group-assets-by-emit-status' option.
  --stats-group-assets-by-extension                                                  Group assets by their extension.
  --no-stats-group-assets-by-extension                                               Negative 'stats-group-assets-by-extension' option.
  --stats-group-assets-by-info                                                       Group assets by their asset info (immutable, development, hotModuleReplacement, etc).
  --no-stats-group-assets-by-info                                                    Negative 'stats-group-assets-by-info' option.
  --stats-group-assets-by-path                                                       Group assets by their path.
  --no-stats-group-assets-by-path                                                    Negative 'stats-group-assets-by-path' option.
  --stats-group-modules-by-attributes                                                Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).
  --no-stats-group-modules-by-attributes                                             Negative 'stats-group-modules-by-attributes' option.
  --stats-group-modules-by-cache-status                                              Group modules by their status (cached or built and cacheable).
  --no-stats-group-modules-by-cache-status                                           Negative 'stats-group-modules-by-cache-status' option.
  --stats-group-modules-by-extension                                                 Group modules by their extension.
  --no-stats-group-modules-by-extension                                              Negative 'stats-group-modules-by-extension' option.
  --stats-group-modules-by-path                                                      Group modules by their path.
  --no-stats-group-modules-by-path                                                   Negative 'stats-group-modules-by-path' option.
  --stats-hash                                                                       Add the hash of the compilation.
  --no-stats-hash                                                                    Negative 'stats-hash' option.
  --stats-ids                                                                        Add ids.
  --no-stats-ids                                                                     Negative 'stats-ids' option.
  --stats-logging <value>                                                            Specify log level of logging output. Enable/disable logging output (`true`: shows normal logging output, loglevel: log).
  --stats-logging-debug <value...>                                                   Enable/Disable debug logging for all loggers. Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.
  --stats-logging-debug-reset                                                        Clear all items provided in configuration. Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.
  --stats-logging-trace                                                              Add stack traces to logging output.
  --no-stats-logging-trace                                                           Negative 'stats-logging-trace' option.
  --stats-module-assets                                                              Add information about assets inside modules.
  --no-stats-module-assets                                                           Negative 'stats-module-assets' option.
  --stats-module-trace                                                               Add dependencies and origin of warnings/errors.
  --no-stats-module-trace                                                            Negative 'stats-module-trace' option.
  --stats-modules                                                                    Add built modules information.
  --no-stats-modules                                                                 Negative 'stats-modules' option.
  --stats-modules-sort <value>                                                       Sort the modules by that field.
  --stats-modules-space <value>                                                      Space to display modules (groups will be collapsed to fit this space, values is in number of modules/groups).
  --stats-nested-modules                                                             Add information about modules nested in other modules (like with module concatenation).
  --no-stats-nested-modules                                                          Negative 'stats-nested-modules' option.
  --stats-optimization-bailout                                                       Show reasons why optimization bailed out for modules.
  --no-stats-optimization-bailout                                                    Negative 'stats-optimization-bailout' option.
  --stats-orphan-modules                                                             Add information about orphan modules.
  --no-stats-orphan-modules                                                          Negative 'stats-orphan-modules' option.
  --stats-output-path                                                                Add output path information.
  --no-stats-output-path                                                             Negative 'stats-output-path' option.
  --stats-performance                                                                Add performance hint flags.
  --no-stats-performance                                                             Negative 'stats-performance' option.
  --stats-preset <value>                                                             Preset for the default values.
  --stats-provided-exports                                                           Show exports provided by modules.
  --no-stats-provided-exports                                                        Negative 'stats-provided-exports' option.
  --stats-public-path                                                                Add public path information.
  --no-stats-public-path                                                             Negative 'stats-public-path' option.
  --stats-reasons                                                                    Add information about the reasons why modules are included.
  --no-stats-reasons                                                                 Negative 'stats-reasons' option.
  --stats-related-assets                                                             Add information about assets that are related to other assets (like SourceMaps for assets).
  --no-stats-related-assets                                                          Negative 'stats-related-assets' option.
  --stats-runtime-modules                                                            Add information about runtime modules.
  --no-stats-runtime-modules                                                         Negative 'stats-runtime-modules' option.
  --stats-source                                                                     Add the source code of modules.
  --no-stats-source                                                                  Negative 'stats-source' option.
  --stats-timings                                                                    Add timing information.
  --no-stats-timings                                                                 Negative 'stats-timings' option.
  --stats-used-exports                                                               Show exports used by modules.
  --no-stats-used-exports                                                            Negative 'stats-used-exports' option.
  --stats-version                                                                    Add webpack version information.
  --no-stats-version                                                                 Negative 'stats-version' option.
  --stats-warnings                                                                   Add warnings.
  --no-stats-warnings                                                                Negative 'stats-warnings' option.
  --stats-warnings-count                                                             Add warnings count.
  --no-stats-warnings-count                                                          Negative 'stats-warnings-count' option.
  --stats-warnings-filter <value...>                                                 Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.
  --stats-warnings-filter-reset                                                      Clear all items provided in configuration. Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.
  -t, --target <value...>                                                            Sets the build target e.g. node.
  --target-reset                                                                     Clear all items provided in configuration. Environment to build for. An array of environments to build for all of them when possible.
  -w, --watch                                                                        Watch for files changes.
  --no-watch                                                                         Do not watch for file changes.
  --watch-options-aggregate-timeout <value>                                          Delay the rebuilt after the first change. Value is a time in ms.
  --watch-options-follow-symlinks                                                    Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks ('resolve.symlinks').
  --no-watch-options-follow-symlinks                                                 Negative 'watch-options-follow-symlinks' option.
  --watch-options-ignored <value...>                                                 A glob pattern for files that should be ignored from watching. Ignore some files from watching (glob pattern or regexp).
  --watch-options-ignored-reset                                                      Clear all items provided in configuration. Ignore some files from watching (glob pattern or regexp).
  --watch-options-poll <value>                                                       `number`: use polling with specified interval. `true`: use polling.
  --watch-options-stdin                                                              Stop watching when stdin stream has ended.
  --no-watch-options-stdin                                                           Do not stop watching when stdin stream has ended.

Global options:
  --color                                    Enable colors on console.
  --no-color                                 Disable colors on console.
  -v, --version                              Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
  -h, --help [verbose]                       Display help for commands and options.

Commands:
  bundle|b [options]                         Run webpack (default command, can be omitted).
  version|v                                  Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
  help|h                                     Display help for commands and options.
  serve|s [options]                          Run the webpack dev server.
  info|i [options]                           Outputs information about your system.
  init|c [options] [scaffold...]             Initialize a new webpack configuration.
  loader|l [output-path]                     Scaffold a loader.
  migrate|m <config-path> [new-config-path]  Migrate a configuration to a new version.
  configtest|t <config-path>                 Tests webpack configuration against validation errors.
  plugin|p [output-path]                     Scaffold a plugin.

To see list of all supported commands and options run 'webpack --help=verbose'.

Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team.