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: lib/options.json
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,20 @@
4
4
"definitions": {
5
5
"AllowedHosts": {
6
6
"anyOf": [
7
-
{
8
-
"enum": ["auto", "all"]
9
-
},
10
-
{
11
-
"type": "string",
12
-
"minLength": 1
13
-
},
14
7
{
15
8
"type": "array",
16
9
"items": {
17
10
"type": "string",
18
11
"minLength": 1
19
12
},
20
13
"minItems": 1
14
+
},
15
+
{
16
+
"enum": ["auto", "all"]
17
+
},
18
+
{
19
+
"type": "string",
20
+
"minLength": 1
21
21
}
22
22
],
23
23
"description": "Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts"
Copy file name to clipboardExpand all lines: test/cli/__snapshots__/cli.test.js.snap.webpack5
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ Options:
51
51
--no-target Negative 'target' option.
52
52
--watch-options-stdin Stop watching when stdin stream has ended.
53
53
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
54
+
--allowed-hosts <value...> Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
55
+
--allowed-hosts-reset Clear all items provided in configuration. Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
54
56
--bonjour Broadcasts the server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
55
57
--no-bonjour Negative 'bonjour' option.
56
58
--client-transport <value> Allows to set custom transport to communicate with server.
@@ -72,11 +74,8 @@ Options:
72
74
--client-web-socket-url-host <value> Tells clients connected to devServer to use the provided host.
73
75
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
74
76
--client-web-socket-url-path <value> Tells clients connected to devServer to use the provided path to connect.
75
-
--web-socket-server <value> Allows to set web socket server and options.
76
77
--compress Enable gzip compression for everything served. https://webpack.js.org/configuration/dev-server/#devservercompress
77
78
--no-compress Negative 'compress' option.
78
-
--allowed-hosts <value...> Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
79
-
--allowed-hosts-reset Clear all items provided in configuration. Defines routes which are enabled by default, on by default and allows localhost/value from the 'host' option/value from the 'client.webSocketURL' option. https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
80
79
--history-api-fallback When using the HTML5 History API, the index.html page will likely have to be served in place of any 404 responses. https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback
--host <value> Specify a host to use. If you want your server to be accessible externally. https://webpack.js.org/configuration/dev-server/#devserverhost
@@ -117,6 +116,7 @@ Options:
117
116
--static-public-path-reset Clear all items provided in configuration. The bundled files will be available in the browser under this path.
118
117
--watch-files <value...> List of files to watch for file changes and serve. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
119
118
--watch-files-reset Clear all items provided in configuration. List of files to watch for file changes and serve. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
119
+
--web-socket-server <value> Allows to set web socket server and options.
0 commit comments