Skip to content

Commit d7e9b20

Browse files
committed
test: webpack-4
1 parent 9a00779 commit d7e9b20

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

OPTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ Commands:
873873
loader|l [output-path] [options] Scaffold a loader.
874874
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
875875
plugin|p [output-path] [options] Scaffold a plugin.
876-
webpack serve|server|s [entries...] [options] Run the webpack dev server.
876+
serve|server|s [entries...] [options] Run the webpack dev server.
877877
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
878878
watch|w [entries...] [options] Run webpack and watch for files changes.
879879

packages/webpack-cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ npx webpack-cli --help verbose
7171
loader|l [output-path] [options] Scaffold a loader.
7272
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
7373
plugin|p [output-path] [options] Scaffold a plugin.
74-
serve|s [entries...] [options] Run the webpack dev server.
74+
serve|server|s [entries...] [options] Run the webpack dev server.
7575
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
7676
watch|w [entries...] [options] Run webpack and watch for files changes.
7777
```

test/help/__snapshots__/help.test.js.snap.webpack4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Commands:
102102
loader|l [output-path] [options] Scaffold a loader.
103103
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
104104
plugin|p [output-path] [options] Scaffold a plugin.
105-
serve|s [entries...] [options] Run the webpack dev server.
105+
serve|server|s [entries...] [options] Run the webpack dev server.
106106
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
107107
watch|w [entries...] [options] Run webpack and watch for files changes.
108108

@@ -156,7 +156,7 @@ Commands:
156156
loader|l [output-path] [options] Scaffold a loader.
157157
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
158158
plugin|p [output-path] [options] Scaffold a plugin.
159-
serve|s [entries...] [options] Run the webpack dev server.
159+
serve|server|s [entries...] [options] Run the webpack dev server.
160160
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
161161
watch|w [entries...] [options] Run webpack and watch for files changes.
162162

@@ -210,7 +210,7 @@ Commands:
210210
loader|l [output-path] [options] Scaffold a loader.
211211
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
212212
plugin|p [output-path] [options] Scaffold a plugin.
213-
serve|s [entries...] [options] Run the webpack dev server.
213+
serve|server|s [entries...] [options] Run the webpack dev server.
214214
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
215215
watch|w [entries...] [options] Run webpack and watch for files changes.
216216

@@ -400,7 +400,7 @@ Made with ♥ by the webpack team."
400400
`;
401401

402402
exports[`help should show help information for 'serve' command using the "--help" option 1`] = `
403-
"Usage: webpack serve|s [entries...] [options]
403+
"Usage: webpack serve|server|s [entries...] [options]
404404

405405
Run the webpack dev server.
406406

@@ -572,7 +572,7 @@ Commands:
572572
loader|l [output-path] [options] Scaffold a loader.
573573
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
574574
plugin|p [output-path] [options] Scaffold a plugin.
575-
serve|s [entries...] [options] Run the webpack dev server.
575+
serve|server|s [entries...] [options] Run the webpack dev server.
576576
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
577577
watch|w [entries...] [options] Run webpack and watch for files changes.
578578

@@ -626,7 +626,7 @@ Commands:
626626
loader|l [output-path] [options] Scaffold a loader.
627627
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
628628
plugin|p [output-path] [options] Scaffold a plugin.
629-
serve|s [entries...] [options] Run the webpack dev server.
629+
serve|server|s [entries...] [options] Run the webpack dev server.
630630
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
631631
watch|w [entries...] [options] Run webpack and watch for files changes.
632632

0 commit comments

Comments
 (0)