@@ -559,7 +559,8 @@ exports[`options validate should throw an error on the "static" option with '' v
559
559
exports[`options validate should throw an error on the "static" option with '{"directory":false}' value 1`] = `
560
560
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
561
561
- options.static.directory should be a non-empty string.
562
- -> Directory for static contents."
562
+ -> Directory for static contents.
563
+ -> Read more at https://webpack.js.org/configuration/dev-server/#directory"
563
564
`;
564
565
565
566
exports[`options validate should throw an error on the "static" option with '{"publicPath":false}' value 1`] = `
@@ -572,6 +573,7 @@ exports[`options validate should throw an error on the "static" option with '{"p
572
573
* options.static.publicPath should be one of these:
573
574
[string, ...] (should not have fewer than 1 item) | string
574
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
575
577
Details:
576
578
* options.static.publicPath should be an array:
577
579
[string, ...] (should not have fewer than 1 item)
@@ -588,6 +590,7 @@ exports[`options validate should throw an error on the "static" option with '{"s
588
590
* options.static.serveIndex should be one of these:
589
591
boolean | object { … }
590
592
-> Tells dev server to use serveIndex middleware when enabled.
593
+ -> Read more at https://webpack.js.org/configuration/dev-server/#serveindex
591
594
Details:
592
595
* options.static.serveIndex should be a boolean.
593
596
* options.static.serveIndex should be an object:
@@ -604,6 +607,7 @@ exports[`options validate should throw an error on the "static" option with '{"w
604
607
* options.static.watch should be one of these:
605
608
boolean | object { … }
606
609
-> Watches for files in static content directory.
610
+ -> Read more at https://webpack.js.org/configuration/dev-server/#watch
607
611
Details:
608
612
* options.static.watch should be a boolean.
609
613
* options.static.watch should be an object:
0 commit comments