Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions OPTIONS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
```
Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]

⬡ webpack
────────────────────────────────────────────────────────────────────────
The build tool for modern web applications.

Options:
Usage: webpack [entries...] [options] | webpack [command] [options]

Options
────────────────────────────────────────────────────────────────────────
-c, --config <pathToConfigFile...> Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js".
--config-name <name...> Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations.
-m, --merge Merge two or more configurations using 'webpack-merge'.
Expand Down Expand Up @@ -1383,13 +1386,15 @@ Options:
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Negative 'watch-options-stdin' option.

Global options:
Global options
────────────────────────────────────────────────────────────────────────
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
-h, --help [verbose] Display help for commands and options.

Commands:
Commands
────────────────────────────────────────────────────────────────────────
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
Expand All @@ -1398,9 +1403,9 @@ Commands:
version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
watch|w [entries...] [options] Run webpack and watch for files changes.

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

Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team.
Webpack documentation: https://webpack.js.org/
CLI documentation: https://webpack.js.org/api/cli/
Made with ♥ by the webpack team
```
20 changes: 13 additions & 7 deletions SERVE-OPTIONS-v5.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
```
Usage: webpack serve|server|s [entries...] [options]

⬡ webpack serve
────────────────────────────────────────────────────────────────────────
Run the webpack dev server and watch for source file changes while serving.

Options:
Usage: webpack serve|server|s [entries...] [options]

Options
────────────────────────────────────────────────────────────────────────
-c, --config <pathToConfigFile...> Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js".
--config-name <name...> Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations.
-m, --merge Merge two or more configurations using 'webpack-merge'.
Expand Down Expand Up @@ -99,15 +103,17 @@ Options:
--no-web-socket-server Disallows to set web socket server and options.
--web-socket-server-type <value> Allows to set web socket server and options (by default 'ws').

Global options:
Global options
────────────────────────────────────────────────────────────────────────
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages.
-h, --help [verbose] Display help for commands and options.

To see list of all supported commands and options run 'webpack --help=verbose'.
────────────────────────────────────────────────────────────────────────
ℹ Run 'webpack --help=verbose' to see all available commands and options.

Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team.
Webpack documentation: https://webpack.js.org/
CLI documentation: https://webpack.js.org/api/cli/
Made with ♥ by the webpack team
```