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: test/cli/__snapshots__/cli.test.js.snap.webpack4
+2
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ Options:
73
73
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
74
74
--client-web-socket-url-path <value> Tells clients connected to devServer to use the provided path to connect.
75
75
--client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.
76
+
--client-web-socket-url-username <value> Tells clients connected to devServer to use the provided username to authenticate.
77
+
--client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
76
78
--web-socket-server <value> Allows to set web socket server and options (by default 'ws'). https://webpack.js.org/configuration/dev-server/#devserverwebsocketserver
77
79
--compress Enables gzip compression for everything served. https://webpack.js.org/configuration/dev-server/#devservercompress
78
80
--no-compress Disables gzip compression for everything served.
Copy file name to clipboardExpand all lines: test/cli/__snapshots__/cli.test.js.snap.webpack5
+2
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,10 @@ Options:
72
72
--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).
73
73
--client-web-socket-url-host <value> Tells clients connected to devServer to use the provided host.
74
74
--client-web-socket-url-path <value> Tells clients connected to devServer to use the provided path to connect.
75
+
--client-web-socket-url-password <value> Tells clients connected to devServer to use the provided password to authenticate.
75
76
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
76
77
--client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.
78
+
--client-web-socket-url-username <value> Tells clients connected to devServer to use the provided username to authenticate.
77
79
--compress Enables gzip compression for everything served. https://webpack.js.org/configuration/dev-server/#devservercompress
78
80
--no-compress Negative 'compress' option.
79
81
--history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/web-socket-server-url.test.js.snap.webpack4
+66
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,28 @@ Array [
261
261
262
262
exports[`web socket server URL should work with the "client.webSocketURL.host" option using "0.0.0.0" value ("ws"): page errors 1`] = `Array []`;
263
263
264
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): console messages 1`] = `
265
+
Array [
266
+
"[HMR] Waiting for update signal from WDS...",
267
+
"Hey.",
268
+
"[webpack-dev-server] Hot Module Replacement enabled.",
269
+
"[webpack-dev-server] Live Reloading enabled.",
270
+
]
271
+
`;
272
+
273
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): page errors 1`] = `Array []`;
274
+
275
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): console messages 1`] = `
276
+
Array [
277
+
"[HMR] Waiting for update signal from WDS...",
278
+
"Hey.",
279
+
"[webpack-dev-server] Hot Module Replacement enabled.",
280
+
"[webpack-dev-server] Live Reloading enabled.",
281
+
]
282
+
`;
283
+
284
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
285
+
264
286
exports[`web socket server URL should work with the "client.webSocketURL.path" option ("sockjs"): console messages 1`] = `
265
287
Array [
266
288
"[HMR] Waiting for update signal from WDS...",
@@ -436,3 +458,47 @@ Array [
436
458
`;
437
459
438
460
exports[`web socket server URL should work with the "client.webSocketURL.protocol" option using "http:" value and covert to "ws:" ("ws"): page errors 1`] = `Array []`;
461
+
462
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("sockjs"): console messages 1`] = `
463
+
Array [
464
+
"[HMR] Waiting for update signal from WDS...",
465
+
"Hey.",
466
+
"[webpack-dev-server] Hot Module Replacement enabled.",
467
+
"[webpack-dev-server] Live Reloading enabled.",
468
+
]
469
+
`;
470
+
471
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("sockjs"): page errors 1`] = `Array []`;
472
+
473
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("ws"): console messages 1`] = `
474
+
Array [
475
+
"[HMR] Waiting for update signal from WDS...",
476
+
"Hey.",
477
+
"[webpack-dev-server] Hot Module Replacement enabled.",
478
+
"[webpack-dev-server] Live Reloading enabled.",
479
+
]
480
+
`;
481
+
482
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
483
+
484
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): console messages 1`] = `
485
+
Array [
486
+
"[HMR] Waiting for update signal from WDS...",
487
+
"Hey.",
488
+
"[webpack-dev-server] Hot Module Replacement enabled.",
489
+
"[webpack-dev-server] Live Reloading enabled.",
490
+
]
491
+
`;
492
+
493
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): page errors 1`] = `Array []`;
494
+
495
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): console messages 1`] = `
496
+
Array [
497
+
"[HMR] Waiting for update signal from WDS...",
498
+
"Hey.",
499
+
"[webpack-dev-server] Hot Module Replacement enabled.",
500
+
"[webpack-dev-server] Live Reloading enabled.",
501
+
]
502
+
`;
503
+
504
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): page errors 1`] = `Array []`;
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/web-socket-server-url.test.js.snap.webpack5
+66
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,28 @@ Array [
261
261
262
262
exports[`web socket server URL should work with the "client.webSocketURL.host" option using "0.0.0.0" value ("ws"): page errors 1`] = `Array []`;
263
263
264
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): console messages 1`] = `
265
+
Array [
266
+
"[HMR] Waiting for update signal from WDS...",
267
+
"Hey.",
268
+
"[webpack-dev-server] Hot Module Replacement enabled.",
269
+
"[webpack-dev-server] Live Reloading enabled.",
270
+
]
271
+
`;
272
+
273
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("sockjs"): page errors 1`] = `Array []`;
274
+
275
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): console messages 1`] = `
276
+
Array [
277
+
"[HMR] Waiting for update signal from WDS...",
278
+
"Hey.",
279
+
"[webpack-dev-server] Hot Module Replacement enabled.",
280
+
"[webpack-dev-server] Live Reloading enabled.",
281
+
]
282
+
`;
283
+
284
+
exports[`web socket server URL should work with the "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
285
+
264
286
exports[`web socket server URL should work with the "client.webSocketURL.path" option ("sockjs"): console messages 1`] = `
265
287
Array [
266
288
"[HMR] Waiting for update signal from WDS...",
@@ -436,3 +458,47 @@ Array [
436
458
`;
437
459
438
460
exports[`web socket server URL should work with the "client.webSocketURL.protocol" option using "http:" value and covert to "ws:" ("ws"): page errors 1`] = `Array []`;
461
+
462
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("sockjs"): console messages 1`] = `
463
+
Array [
464
+
"[HMR] Waiting for update signal from WDS...",
465
+
"Hey.",
466
+
"[webpack-dev-server] Hot Module Replacement enabled.",
467
+
"[webpack-dev-server] Live Reloading enabled.",
468
+
]
469
+
`;
470
+
471
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("sockjs"): page errors 1`] = `Array []`;
472
+
473
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("ws"): console messages 1`] = `
474
+
Array [
475
+
"[HMR] Waiting for update signal from WDS...",
476
+
"Hey.",
477
+
"[webpack-dev-server] Hot Module Replacement enabled.",
478
+
"[webpack-dev-server] Live Reloading enabled.",
479
+
]
480
+
`;
481
+
482
+
exports[`web socket server URL should work with the "client.webSocketURL.username" and "client.webSocketURL.password" option ("ws"): page errors 1`] = `Array []`;
483
+
484
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): console messages 1`] = `
485
+
Array [
486
+
"[HMR] Waiting for update signal from WDS...",
487
+
"Hey.",
488
+
"[webpack-dev-server] Hot Module Replacement enabled.",
489
+
"[webpack-dev-server] Live Reloading enabled.",
490
+
]
491
+
`;
492
+
493
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("sockjs"): page errors 1`] = `Array []`;
494
+
495
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): console messages 1`] = `
496
+
Array [
497
+
"[HMR] Waiting for update signal from WDS...",
498
+
"Hey.",
499
+
"[webpack-dev-server] Hot Module Replacement enabled.",
500
+
"[webpack-dev-server] Live Reloading enabled.",
501
+
]
502
+
`;
503
+
504
+
exports[`web socket server URL should work with the "client.webSocketURL.username" option ("ws"): page errors 1`] = `Array []`;
0 commit comments