Skip to content

Commit 10e089b

Browse files
authored
docs: update usage (#3258)
1 parent c2805fe commit 10e089b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ npx webpack serve
6161
Following options are available with `webpack serve`:
6262

6363
```
64-
Usage: webpack serve|s [entries...] [options]
64+
Usage: webpack serve|server|s [entries...] [options]
6565
6666
Options:
6767
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.

test/cli/__snapshots__/cli.test.js.snap.webpack4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ Options:
195195
webpack e.g. ./dist/.
196196
-t, --target <value> Sets the build target e.g. node.
197197
-d, --devtool <value> Determine source maps to use.
198+
--no-devtool Do not generate source maps.
198199
--mode <value> Defines the mode to pass to webpack.
199200
--name <value> Name of the configuration. Used when loading
200201
multiple configurations.

0 commit comments

Comments
 (0)