You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--extends <value...> Path to the configuration to be extended (only works when using webpack-cli).
101
+
-e, --extends <value...> Path to the configuration to be extended (only works when using webpack-cli).
103
102
--extends-reset Clear all items provided in 'extends' configuration. Extend configuration from another configuration (only works when using webpack-cli).
104
103
--externals <value...> Every matched dependency becomes external. An exact matched dependency becomes external. The same string is used as external dependency.
105
104
--externals-reset Clear all items provided in 'externals' 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`.
@@ -188,14 +187,30 @@ Options:
188
187
--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.
189
188
--module-no-parse-reset Clear all items provided in 'module.noParse' configuration. Don't parse files matching. It's matched against the full resolved request.
190
189
--module-parser-asset-data-url-condition-max-size <value> Maximum size of asset that should be inline as modules. Default: 8kb.
190
+
--module-parser-css-import Enable/disable `@import` at-rules handling.
--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).
--output-css-chunk-filename <value> Specifies the filename template 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.
658
675
--output-css-filename <value> Specifies the filename template 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.
659
-
--output-css-head-data-compression Compress the data in the head tag of CSS files.
--output-devtool-fallback-module-filename-template <value> Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.
662
677
--output-devtool-module-filename-template <value> Filename template string of function for the sources array in a generated SourceMap.
663
678
--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.
@@ -1075,9 +1090,6 @@ Commands:
1075
1090
configtest|t [config-path] Validate a webpack configuration.
1076
1091
help|h [command] [option] Display help for commands and options.
1077
1092
info|i [options] Outputs information about your system.
1078
-
init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
1079
-
loader|l [output-path] [options] Scaffold a loader.
1080
-
plugin|p [output-path] [options] Scaffold a plugin.
1081
1093
serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving.
1082
1094
version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
1083
1095
watch|w [entries...] [options] Run webpack and watch for files changes.
0 commit comments