@@ -533,7 +533,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
533
533
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"ca":true}}' value 1`] = `
534
534
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
535
535
- options.server should be one of these:
536
- "http" | "https" | "spdy" | non-empty string | object { type?, options? }
536
+ "http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
537
537
-> Allows to set server and options (by default 'http').
538
538
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
539
539
Details:
@@ -550,7 +550,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
550
550
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"cert":true}}' value 1`] = `
551
551
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
552
552
- options.server should be one of these:
553
- "http" | "https" | "spdy" | non-empty string | object { type?, options? }
553
+ "http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
554
554
-> Allows to set server and options (by default 'http').
555
555
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
556
556
Details:
@@ -567,7 +567,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
567
567
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"key":10}}' value 1`] = `
568
568
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
569
569
- options.server should be one of these:
570
- "http" | "https" | "spdy" | non-empty string | object { type?, options? }
570
+ "http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
571
571
-> Allows to set server and options (by default 'http').
572
572
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
573
573
Details:
@@ -590,7 +590,7 @@ exports[`options validate should throw an error on the "server" option with '{"t
590
590
exports[`options validate should throw an error on the "server" option with '{"type":"https","options":{"pfx":10}}' value 1`] = `
591
591
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
592
592
- options.server should be one of these:
593
- "http" | "https" | "spdy" | non-empty string | object { type?, options? }
593
+ "http" | "https" | "spdy" | "http2" | non-empty string | object { type?, options? }
594
594
-> Allows to set server and options (by default 'http').
595
595
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverserver
596
596
Details:
0 commit comments