Skip to content

Commit ea3fc32

Browse files
docs: update (#4682)
Co-authored-by: alexander-akait <4567934+alexander-akait@users.noreply.github.com>
1 parent f483370 commit ea3fc32

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

OPTIONS.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ Options:
88
-c, --config <pathToConfigFile...> Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js".
99
--config-name <name...> Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations.
1010
-m, --merge Merge two or more configurations using 'webpack-merge'.
11-
--disable-interpret Disable interpret for loading the config file.
1211
--env <value...> Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval".
13-
--node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.(Deprecated: Use '--config-node-env' instead)
1412
--config-node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.
1513
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
1614
--progress [value] Print compilation progress during build.
1715
-j, --json [pathToJsonFile] Prints result as JSON or store it in a file.
1816
--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack.
17+
--disable-interpret Disable interpret for loading the config file.
1918
--no-amd Negative 'amd' option.
2019
--bail Report the first error as a hard error instead of tolerating it.
2120
--no-bail Negative 'bail' option.
@@ -1342,7 +1341,7 @@ Options:
13421341
Global options:
13431342
--color Enable colors on console.
13441343
--no-color Disable colors on console.
1345-
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
1344+
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
13461345
-h, --help [verbose] Display help for commands and options.
13471346
13481347
Commands:
@@ -1351,7 +1350,7 @@ Commands:
13511350
help|h [command] [option] Display help for commands and options.
13521351
info|i [options] Outputs information about your system.
13531352
serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving.
1354-
version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
1353+
version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
13551354
watch|w [entries...] [options] Run webpack and watch for files changes.
13561355
13571356
To see list of all supported commands and options run 'webpack --help=verbose'.

SERVE-OPTIONS-v5.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ Options:
77
-c, --config <pathToConfigFile...> Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js".
88
--config-name <name...> Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations.
99
-m, --merge Merge two or more configurations using 'webpack-merge'.
10-
--disable-interpret Disable interpret for loading the config file.
1110
--env <value...> Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval".
12-
--node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.(Deprecated: Use '--config-node-env' instead)
1311
--config-node-env <value> Sets process.env.NODE_ENV to the specified value for access within the configuration.
1412
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
1513
--progress [value] Print compilation progress during build.
1614
-j, --json [pathToJsonFile] Prints result as JSON or store it in a file.
1715
--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack.
16+
--disable-interpret Disable interpret for loading the config file.
1817
-d, --devtool <value> A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).
1918
--no-devtool Negative 'devtool' option.
2019
--entry <value...> A module that is loaded upon startup. Only the last one is exported.
@@ -107,7 +106,7 @@ Options:
107106
Global options:
108107
--color Enable colors on console.
109108
--no-color Disable colors on console.
110-
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
109+
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
111110
-h, --help [verbose] Display help for commands and options.
112111
113112
To see list of all supported commands and options run 'webpack --help=verbose'.

0 commit comments

Comments
 (0)