diff --git a/packages/webpack-cli/README.md b/packages/webpack-cli/README.md index b61c56274f4..bb87b53b175 100644 --- a/packages/webpack-cli/README.md +++ b/packages/webpack-cli/README.md @@ -36,28 +36,28 @@ yarn add webpack-cli --dev ### webpack 4 ``` - --entry string[] The entry point(s) of your application. - -c, --config string[] Provide path to webpack configuration file(s) - --config-name string[] Name of the configuration to use - -m, --merge Merge several configurations using webpack-merge - --progress Print compilation progress during build - --color Enables colors on console - --no-color Disable colors on console - --env string Environment passed to the configuration when it is a function - --name string Name of the configuration. Used when loading multiple configurations - --help Outputs list of supported flags - -o, --output string Output location of the file generated by webpack - -t, --target string Sets the build target - -w, --watch Watch for files changes - -h, --hot Enables Hot Module Replacement - --no-hot Disables Hot Module Replacement - -d, --devtool string Controls if and how source maps are generated. - --prefetch string Prefetch this request - -j, --json string Prints result as JSON or store it in a file - --mode string Defines the mode to pass to webpack - -v, --version Get current version - --stats string It instructs webpack on how to treat the stats - --no-stats Disables stats output + --entry string[] The entry point(s) of your application. + -c, --config string[] Provide path to webpack configuration file(s) + --config-name string[] Name of the configuration to use + -m, --merge Merge several configurations using webpack-merge + --progress Print compilation progress during build + --color Enables colors on console + --no-color Disable colors on console + --env string Environment passed to the configuration when it is a function + --name string Name of the configuration. Used when loading multiple configurations + --help Outputs list of supported flags + -o, --output string Output location of the file generated by webpack + -t, --target string Sets the build target + -w, --watch Watch for files changes + -h, --hot Enables Hot Module Replacement + --no-hot Disables Hot Module Replacement + -d, --devtool string Controls if and how source maps are generated. + --prefetch string Prefetch this request + -j, --json string, boolean Prints result as JSON or store it in a file + --mode string Defines the mode to pass to webpack + -v, --version Get current version + --stats string, boolean It instructs webpack on how to treat the stats + --no-stats Disables stats output ``` ### webpack 5