@@ -69,13 +69,15 @@ exports[`options validate should throw an error on the "bonjour" option with ''
69
69
exports[`options validate should throw an error on the "client" option with '{"logging":"silent"}' value 1`] = `
70
70
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
71
71
- options.client.logging should be one of these:
72
- \\"none\\" | \\"error\\" | \\"warn\\" | \\"info\\" | \\"log\\" | \\"verbose\\""
72
+ \\"none\\" | \\"error\\" | \\"warn\\" | \\"info\\" | \\"log\\" | \\"verbose\\"
73
+ -> Read more at https://webpack.js.org/configuration/dev-server/#logging"
73
74
`;
74
75
75
76
exports[`options validate should throw an error on the "client" option with '{"logging":"whoops!"}' value 1`] = `
76
77
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
77
78
- options.client.logging should be one of these:
78
- \\"none\\" | \\"error\\" | \\"warn\\" | \\"info\\" | \\"log\\" | \\"verbose\\""
79
+ \\"none\\" | \\"error\\" | \\"warn\\" | \\"info\\" | \\"log\\" | \\"verbose\\"
80
+ -> Read more at https://webpack.js.org/configuration/dev-server/#logging"
79
81
`;
80
82
81
83
exports[`options validate should throw an error on the "client" option with '{"overlay":""}' value 1`] = `
@@ -90,6 +92,7 @@ exports[`options validate should throw an error on the "client" option with '{"o
90
92
Details:
91
93
* options.client.overlay should be a boolean.
92
94
-> Enables a full-screen overlay in the browser when there are compiler errors or warnings.
95
+ -> Read more at https://webpack.js.org/configuration/dev-server/#overlay
93
96
* options.client.overlay should be an object:
94
97
object { errors?, warnings? }"
95
98
`;
@@ -115,7 +118,8 @@ exports[`options validate should throw an error on the "client" option with '{"o
115
118
exports[`options validate should throw an error on the "client" option with '{"progress":""}' value 1`] = `
116
119
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
117
120
- options.client.progress should be a boolean.
118
- -> Prints compilation progress in percentage in the browser."
121
+ -> Prints compilation progress in percentage in the browser.
122
+ -> Read more at https://webpack.js.org/configuration/dev-server/#progress"
119
123
`;
120
124
121
125
exports[`options validate should throw an error on the "client" option with '{"unknownOption":true}' value 1`] = `
@@ -134,6 +138,7 @@ exports[`options validate should throw an error on the "client" option with '{"w
134
138
* options.client.webSocketTransport should be one of these:
135
139
\\"sockjs\\" | \\"ws\\" | non-empty string
136
140
-> Allows to set custom web socket transport to communicate with dev server.
141
+ -> Read more at https://webpack.js.org/configuration/dev-server/#websockettransport
137
142
Details:
138
143
* options.client.webSocketTransport should be one of these:
139
144
\\"sockjs\\" | \\"ws\\"
@@ -554,7 +559,8 @@ exports[`options validate should throw an error on the "static" option with '' v
554
559
exports[`options validate should throw an error on the "static" option with '{"directory":false}' value 1`] = `
555
560
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
556
561
- options.static.directory should be a non-empty string.
557
- -> Directory for static contents."
562
+ -> Directory for static contents.
563
+ -> Read more at https://webpack.js.org/configuration/dev-server/#directory"
558
564
`;
559
565
560
566
exports[`options validate should throw an error on the "static" option with '{"publicPath":false}' value 1`] = `
@@ -567,6 +573,7 @@ exports[`options validate should throw an error on the "static" option with '{"p
567
573
* options.static.publicPath should be one of these:
568
574
[string, ...] (should not have fewer than 1 item) | string
569
575
-> The static files will be available in the browser under this public path.
576
+ -> Read more at https://webpack.js.org/configuration/dev-server/#publicpath
570
577
Details:
571
578
* options.static.publicPath should be an array:
572
579
[string, ...] (should not have fewer than 1 item)
@@ -583,6 +590,7 @@ exports[`options validate should throw an error on the "static" option with '{"s
583
590
* options.static.serveIndex should be one of these:
584
591
boolean | object { … }
585
592
-> Tells dev server to use serveIndex middleware when enabled.
593
+ -> Read more at https://webpack.js.org/configuration/dev-server/#serveindex
586
594
Details:
587
595
* options.static.serveIndex should be a boolean.
588
596
* options.static.serveIndex should be an object:
@@ -599,6 +607,7 @@ exports[`options validate should throw an error on the "static" option with '{"w
599
607
* options.static.watch should be one of these:
600
608
boolean | object { … }
601
609
-> Watches for files in static content directory.
610
+ -> Read more at https://webpack.js.org/configuration/dev-server/#watch
602
611
Details:
603
612
* options.static.watch should be a boolean.
604
613
* options.static.watch should be an object:
0 commit comments