Skip to content

Commit 2aa7087

Browse files
test: update
1 parent 611cea1 commit 2aa7087

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`basic basic should accept the promise function of webpack.config.js: stderr 1`] = `
44
"<i> [webpack-dev-server] Project is running at:
@@ -41,16 +41,16 @@ Options:
4141
-m, --merge Merge two or more configurations using 'webpack-merge'.
4242
--disable-interpret Disable interpret for loading the config file.
4343
--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.
44+
--node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.(Deprecated: Use '--config-node-env' instead)
45+
--config-node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.
4546
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
4647
--progress [value] Print compilation progress during build.
4748
-j, --json [pathToJsonFile] Prints result as JSON or store it in a file.
4849
--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack.
49-
-e, --extends <value...> Path to the configuration to be extended (only works when using webpack-cli).
5050
-d, --devtool <value> A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).
5151
--no-devtool Negative 'devtool' option.
5252
--entry <value...> A module that is loaded upon startup. Only the last one is exported.
53-
--extends <value...> Path to the configuration to be extended (only works when using webpack-cli).
53+
-e, --extends <value...> Path to the configuration to be extended (only works when using webpack-cli).
5454
--mode <value> Enable production optimizations or development hints.
5555
--name <value> Name of the configuration. Used when loading multiple configurations.
5656
-o, --output-path <value> The output directory as **absolute path** (required).

0 commit comments

Comments
 (0)