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: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,9 +119,10 @@ Options:
119
119
--host <value> Allows to specify a hostname to use.
120
120
--hot [value] Enables Hot Module Replacement.
121
121
--no-hot Disables Hot Module Replacement.
122
-
--http2 Allows to serve over HTTP/2 using SPDY.
122
+
--http2 Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option.
123
123
--no-http2 Does not serve over HTTP/2 using SPDY.
124
-
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
124
+
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor
125
+
of the `server` option.
125
126
--no-https Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
126
127
--https-passphrase <value> Passphrase for a pfx file. Deprecated, it will be removed in favor of the `server.options.passphrase` option.
127
128
--https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the `server.options.requestCert`
Copy file name to clipboardExpand all lines: bin/cli-flags.js
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -448,11 +448,13 @@ module.exports = {
448
448
{
449
449
type: "boolean",
450
450
multiple: false,
451
-
description: "Allows to serve over HTTP/2 using SPDY.",
451
+
description:
452
+
"Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option.",
452
453
path: "http2",
453
454
},
454
455
],
455
-
description: "Allows to serve over HTTP/2 using SPDY.",
456
+
description:
457
+
"Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the `server` option.",
456
458
negatedDescription: "Does not serve over HTTP/2 using SPDY.",
457
459
simpleType: "boolean",
458
460
multiple: false,
@@ -463,12 +465,12 @@ module.exports = {
463
465
type: "boolean",
464
466
multiple: false,
465
467
description:
466
-
"Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
468
+
"Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the `server` option.",
467
469
path: "https",
468
470
},
469
471
],
470
472
description:
471
-
"Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
473
+
"Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the `server` option.",
472
474
negatedDescription:
473
475
"Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
"description": "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
385
+
"description": "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the `server` option.",
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
357
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
358
358
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
359
359
Details:
360
360
* options.https should be a boolean.
@@ -366,7 +366,7 @@ exports[`options validate should throw an error on the "https" option with '{"ca
366
366
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
369
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
370
370
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
371
371
Details:
372
372
* options.https.cacert should be one of these:
@@ -383,7 +383,7 @@ exports[`options validate should throw an error on the "https" option with '{"ce
383
383
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
386
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
387
387
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
388
388
Details:
389
389
* options.https.cert should be one of these:
@@ -400,7 +400,7 @@ exports[`options validate should throw an error on the "https" option with '{"ke
400
400
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
403
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
404
404
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
405
405
Details:
406
406
* options.https.key should be one of these:
@@ -423,7 +423,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf
423
423
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
426
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
427
427
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
357
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
358
358
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
359
359
Details:
360
360
* options.https should be a boolean.
@@ -366,7 +366,7 @@ exports[`options validate should throw an error on the "https" option with '{"ca
366
366
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
369
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
370
370
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
371
371
Details:
372
372
* options.https.cacert should be one of these:
@@ -383,7 +383,7 @@ exports[`options validate should throw an error on the "https" option with '{"ce
383
383
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
386
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
387
387
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
388
388
Details:
389
389
* options.https.cert should be one of these:
@@ -400,7 +400,7 @@ exports[`options validate should throw an error on the "https" option with '{"ke
400
400
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
403
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
404
404
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
405
405
Details:
406
406
* options.https.key should be one of these:
@@ -423,7 +423,7 @@ exports[`options validate should throw an error on the "https" option with '{"pf
423
423
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
426
+
-> Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
427
427
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverhttps
Copy file name to clipboardExpand all lines: test/cli/__snapshots__/basic.test.js.snap.webpack4
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,9 +88,9 @@ Options:
88
88
--host <value> Allows to specify a hostname to use.
89
89
--hot [value] Enables Hot Module Replacement.
90
90
--no-hot Disables Hot Module Replacement.
91
-
--http2 Allows to serve over HTTP/2 using SPDY.
91
+
--http2 Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the \`server\` option.
92
92
--no-http2 Does not serve over HTTP/2 using SPDY.
93
-
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
93
+
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
94
94
--no-https Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
95
95
--https-passphrase <value> Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option.
96
96
--https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option.
Copy file name to clipboardExpand all lines: test/cli/__snapshots__/basic.test.js.snap.webpack5
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -86,9 +86,9 @@ Options:
86
86
--host <value> Allows to specify a hostname to use.
87
87
--hot [value] Enables Hot Module Replacement.
88
88
--no-hot Negative 'hot' option.
89
-
--http2 Allows to serve over HTTP/2 using SPDY.
89
+
--http2 Allows to serve over HTTP/2 using SPDY. Deprecated, it will be removed in favor of the \`server\` option.
90
90
--no-http2 Negative 'http2' option.
91
-
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).
91
+
--https Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP). Deprecated, it will be removed in favor of the \`server\` option.
92
92
--no-https Negative 'https' option.
93
93
--https-passphrase <value> Passphrase for a pfx file. Deprecated, it will be removed in favor of the \`server.options.passphrase\` option.
94
94
--https-request-cert Request for an SSL certificate. Deprecated, it will be removed in favor of the \`server.options.requestCert\` option.
0 commit comments