Skip to content

Commit d163488

Browse files
authored
chore: update webpack-cli to version 7.0.2 (#5656)
* chore: update webpack-cli to version 7.0.2 * fixup!
1 parent 1121977 commit d163488

File tree

3 files changed

+21
-76
lines changed

3 files changed

+21
-76
lines changed

package-lock.json

Lines changed: 18 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"typescript-eslint": "^8.36.0",
128128
"wait-for-expect": "^3.0.2",
129129
"webpack": "^5.105.4",
130-
"webpack-cli": "^6.0.1",
130+
"webpack-cli": "^7.0.2",
131131
"webpack-merge": "^6.0.1"
132132
},
133133
"peerDependencies": {

test/cli/__snapshots__/basic.test.js.snap.webpack5

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@ Options:
3939
-c, --config <pathToConfigFile...> Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js".
4040
--config-name <name...> Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations.
4141
-m, --merge Merge two or more configurations using 'webpack-merge'.
42-
--disable-interpret Disable interpret for loading the config file.
4342
--env <value...> Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval".
44-
--node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.(Deprecated: Use '--config-node-env' instead)
4543
--config-node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.
4644
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
4745
--progress [value] Print compilation progress during build.
4846
-j, --json [pathToJsonFile] Prints result as JSON or store it in a file.
4947
--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack.
48+
--disable-interpret Disable interpret for loading the config file.
5049
-d, --devtool <value> A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).
5150
--no-devtool Negative 'devtool' option.
5251
--entry <value...> A module that is loaded upon startup. Only the last one is exported.
@@ -55,13 +54,9 @@ Options:
5554
--name <value> Name of the configuration. Used when loading multiple configurations.
5655
-o, --output-path <value> The output directory as **absolute path** (required).
5756
--stats [value] Stats options object or preset name.
58-
--no-stats Negative 'stats' option.
5957
-t, --target <value...> Environment to build for. Environment to build for. An array of environments to build for all of them when possible.
60-
--no-target Negative 'target' option.
6158
-w, --watch Enter watch mode, which rebuilds on file change.
62-
--no-watch Negative 'watch' option.
6359
--watch-options-stdin Stop watching when stdin stream has ended.
64-
--no-watch-options-stdin Negative 'watch-options-stdin' option.
6560
--allowed-hosts <value...> Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').
6661
--allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').
6762
--bonjour Allows to broadcasts dev server via ZeroConf networking on start.
@@ -139,7 +134,7 @@ Options:
139134
Global options:
140135
--color Enable colors on console.
141136
--no-color Disable colors on console.
142-
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
137+
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
143138
-h, --help [verbose] Display help for commands and options.
144139

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

0 commit comments

Comments
 (0)