You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/cli-flags.js
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,12 @@ module.exports = {
30
30
type: 'reset',
31
31
multiple: false,
32
32
description:
33
-
"Clear all items provided in configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
33
+
"Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
34
34
path: 'allowedHosts',
35
35
},
36
36
],
37
37
description:
38
-
"Clear all items provided in configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
38
+
"Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
39
39
simpleType: 'boolean',
40
40
multiple: false,
41
41
},
@@ -614,12 +614,12 @@ module.exports = {
614
614
type: 'reset',
615
615
multiple: false,
616
616
description:
617
-
'Clear all items provided in configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen',
617
+
"Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen",
618
618
path: 'open',
619
619
},
620
620
],
621
621
description:
622
-
'Clear all items provided in configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen',
622
+
"Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen",
623
623
simpleType: 'boolean',
624
624
multiple: false,
625
625
},
@@ -629,12 +629,12 @@ module.exports = {
629
629
type: 'reset',
630
630
multiple: false,
631
631
description:
632
-
'Clear all items provided in configuration. Opens specified page in browser.',
632
+
"Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
633
633
path: 'open.target',
634
634
},
635
635
],
636
636
description:
637
-
'Clear all items provided in configuration. Opens specified page in browser.',
637
+
"Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
638
638
simpleType: 'boolean',
639
639
multiple: false,
640
640
},
@@ -644,12 +644,12 @@ module.exports = {
644
644
type: 'reset',
645
645
multiple: false,
646
646
description:
647
-
'Clear all items provided in configuration. Open specified browser.',
647
+
"Clear all items provided in 'open.app.name' configuration. Open specified browser.",
648
648
path: 'open.app.name',
649
649
},
650
650
],
651
651
description:
652
-
'Clear all items provided in configuration. Open specified browser.',
652
+
"Clear all items provided in 'open.app.name' configuration. Open specified browser.",
653
653
simpleType: 'boolean',
654
654
multiple: false,
655
655
},
@@ -776,12 +776,12 @@ module.exports = {
776
776
type: 'reset',
777
777
multiple: false,
778
778
description:
779
-
"Clear all items provided in configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
779
+
"Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
780
780
path: 'static',
781
781
},
782
782
],
783
783
description:
784
-
"Clear all items provided in configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
784
+
"Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
785
785
simpleType: 'boolean',
786
786
multiple: false,
787
787
},
@@ -791,12 +791,12 @@ module.exports = {
791
791
type: 'reset',
792
792
multiple: false,
793
793
description:
794
-
'Clear all items provided in configuration. The static files will be available in the browser under this public path.',
794
+
"Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
795
795
path: 'static.publicPath',
796
796
},
797
797
],
798
798
description:
799
-
'Clear all items provided in configuration. The static files will be available in the browser under this public path.',
799
+
"Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
800
800
simpleType: 'boolean',
801
801
multiple: false,
802
802
},
@@ -821,12 +821,12 @@ module.exports = {
821
821
type: 'reset',
822
822
multiple: false,
823
823
description:
824
-
'Clear all items provided in configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles',
824
+
"Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles",
825
825
path: 'watchFiles',
826
826
},
827
827
],
828
828
description:
829
-
'Clear all items provided in configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles',
829
+
"Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles",
Copy file name to clipboardExpand all lines: test/cli/__snapshots__/basic.test.js.snap.webpack4
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Options:
39
39
--watch-options-stdin Stop watching when stdin stream has ended.
40
40
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
41
41
--allowed-hosts <value...> Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
42
-
--allowed-hosts-reset Clear all items provided in configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
42
+
--allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
43
43
--bonjour Allows to broadcasts dev server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
44
44
--no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
45
45
--client-transport <value> Allows to set custom transport to communicate with dev server.
@@ -90,9 +90,9 @@ Options:
90
90
--no-open-target Does not open specified page in browser.
91
91
--open-app-name <value...> Open specified browser.
92
92
--open-app <value...> Open specified browser.
93
-
--open-reset Clear all items provided in configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen
94
-
--open-target-reset Clear all items provided in configuration. Opens specified page in browser.
95
-
--open-app-name-reset Clear all items provided in configuration. Open specified browser.
93
+
--open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen
94
+
--open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser.
95
+
--open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser.
96
96
--port <value> Allows to specify a port to use. https://webpack.js.org/configuration/dev-server/#devserverport
97
97
--static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic
98
98
--no-static Negative 'static' option.
@@ -102,10 +102,10 @@ Options:
102
102
--no-static-serve-index Does not tell dev server to use serveIndex middleware.
103
103
--static-watch Watches for files in static content directory.
104
104
--no-static-watch Does not watch for files in static content directory.
105
-
--static-reset Clear all items provided in configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic
106
-
--static-public-path-reset Clear all items provided in configuration. The static files will be available in the browser under this public path.
105
+
--static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic
106
+
--static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.
107
107
--watch-files <value...> Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
108
-
--watch-files-reset Clear all items provided in configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
108
+
--watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
0 commit comments