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
--client-transport <value> Allows to set custom transport to communicate with dev server.
102
+
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
103
103
--client-web-socket-url <value> Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).
104
104
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.
105
105
--client-web-socket-url-pathname <value> Tells clients connected to devServer to use the provided path to connect.
? 'When you use custom web socket implementation you must explicitly specify client.transport. '
65
+
? 'When you use custom web socket implementation you must explicitly specify client.webSocketTransport. '
66
66
: ''
67
-
}client.transport must be a string denoting a default implementation (e.g. 'sockjs', 'ws') or a full path to a JS file via require.resolve(...) which exports a class `
67
+
}client.webSocketTransport must be a string denoting a default implementation (e.g. 'sockjs', 'ws') or a full path to a JS file via require.resolve(...) which exports a class `
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
81
81
Details:
82
82
* options.client.overlay should be one of these:
@@ -112,25 +112,25 @@ exports[`options validate should throw an error on the "client" option with '{"p
112
112
-> Prints compilation progress in percentage in the browser."
113
113
`;
114
114
115
-
exports[`options validate should throw an error on the "client" option with '{"transport":true}' value 1`] = `
115
+
exports[`options validate should throw an error on the "client" option with '{"unknownOption":true}' value 1`] = `
116
+
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
117
+
- options.client has an unknown property 'unknownOption'. These properties are valid:
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
120
126
Details:
121
-
* options.client.transport should be one of these:
127
+
* options.client.webSocketTransport should be one of these:
122
128
\\"sockjs\\" | \\"ws\\" | non-empty string
123
-
-> Allows to set custom transport to communicate with dev server.
129
+
-> Allows to set custom web socket transport to communicate with dev server.
124
130
Details:
125
-
* options.client.transport should be one of these:
131
+
* options.client.webSocketTransport should be one of these:
126
132
\\"sockjs\\" | \\"ws\\"
127
-
* options.client.transport should be a non-empty string."
128
-
`;
129
-
130
-
exports[`options validate should throw an error on the "client" option with '{"unknownOption":true}' value 1`] = `
131
-
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
132
-
- options.client has an unknown property 'unknownOption'. These properties are valid:
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
164
164
Details:
165
165
* options.client.webSocketURL.port should be one of these:
@@ -173,7 +173,7 @@ exports[`options validate should throw an error on the "client" option with '{"w
173
173
exports[`options validate should throw an error on the "client" option with '{"webSocketURL":{"username":123,"password":976}}' value 1`] = `
174
174
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
178
178
Details:
179
179
* options.client.webSocketURL.password should be a string.
@@ -185,12 +185,12 @@ exports[`options validate should throw an error on the "client" option with '{"w
185
185
exports[`options validate should throw an error on the "client" option with 'whoops!' value 1`] = `
186
186
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
81
81
Details:
82
82
* options.client.overlay should be one of these:
@@ -112,25 +112,25 @@ exports[`options validate should throw an error on the "client" option with '{"p
112
112
-> Prints compilation progress in percentage in the browser."
113
113
`;
114
114
115
-
exports[`options validate should throw an error on the "client" option with '{"transport":true}' value 1`] = `
115
+
exports[`options validate should throw an error on the "client" option with '{"unknownOption":true}' value 1`] = `
116
+
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
117
+
- options.client has an unknown property 'unknownOption'. These properties are valid:
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
120
126
Details:
121
-
* options.client.transport should be one of these:
127
+
* options.client.webSocketTransport should be one of these:
122
128
\\"sockjs\\" | \\"ws\\" | non-empty string
123
-
-> Allows to set custom transport to communicate with dev server.
129
+
-> Allows to set custom web socket transport to communicate with dev server.
124
130
Details:
125
-
* options.client.transport should be one of these:
131
+
* options.client.webSocketTransport should be one of these:
126
132
\\"sockjs\\" | \\"ws\\"
127
-
* options.client.transport should be a non-empty string."
128
-
`;
129
-
130
-
exports[`options validate should throw an error on the "client" option with '{"unknownOption":true}' value 1`] = `
131
-
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
132
-
- options.client has an unknown property 'unknownOption'. These properties are valid:
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
164
164
Details:
165
165
* options.client.webSocketURL.port should be one of these:
@@ -173,7 +173,7 @@ exports[`options validate should throw an error on the "client" option with '{"w
173
173
exports[`options validate should throw an error on the "client" option with '{"webSocketURL":{"username":123,"password":976}}' value 1`] = `
174
174
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
178
178
Details:
179
179
* options.client.webSocketURL.password should be a string.
@@ -185,12 +185,12 @@ exports[`options validate should throw an error on the "client" option with '{"w
185
185
exports[`options validate should throw an error on the "client" option with 'whoops!' value 1`] = `
186
186
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
Copy file name to clipboardExpand all lines: test/cli/__snapshots__/basic.test.js.snap.webpack4
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Options:
42
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
-
--client-transport <value> Allows to set custom transport to communicate with dev server.
45
+
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
46
46
--no-client Negative 'client' option.
47
47
--client-logging <value> Allows to specify options for client script in the browser or disable client script. https://webpack.js.org/configuration/dev-server/#devserverclient
48
48
--client-progress Prints compilation progress in percentage in the browser.
--client-transport <value> Allows to set custom transport to communicate with dev server.
56
+
--client-web-socket-transport <value> Allows to set custom web socket transport to communicate with dev server.
57
57
--client-web-socket-url <value> Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).
58
58
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.
59
59
--client-web-socket-url-pathname <value> Tells clients connected to devServer to use the provided path to connect.
0 commit comments