|
1 | | -// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 1 | +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing |
2 | 2 |
|
3 | 3 | exports[`basic basic should accept the promise function of webpack.config.js: stderr 1`] = ` |
4 | 4 | "<i> [webpack-dev-server] Project is running at: |
@@ -41,16 +41,16 @@ Options: |
41 | 41 | -m, --merge Merge two or more configurations using 'webpack-merge'. |
42 | 42 | --disable-interpret Disable interpret for loading the config file. |
43 | 43 | --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. |
45 | 46 | --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. |
46 | 47 | --progress [value] Print compilation progress during build. |
47 | 48 | -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. |
48 | 49 | --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). |
50 | 50 | -d, --devtool <value> A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). |
51 | 51 | --no-devtool Negative 'devtool' option. |
52 | 52 | --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). |
54 | 54 | --mode <value> Enable production optimizations or development hints. |
55 | 55 | --name <value> Name of the configuration. Used when loading multiple configurations. |
56 | 56 | -o, --output-path <value> The output directory as **absolute path** (required). |
|
0 commit comments