@@ -258,23 +258,31 @@ exports[`options validate should throw an error on the "historyApiFallback" opti
258
258
259
259
exports[`options validate should throw an error on the "host" option with '' value 1`] = `
260
260
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
261
- - options.host should be a non-empty string.
262
- -> Allows to specify a hostname to use.
263
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhost"
261
+ - options.host should be a non-empty string."
264
262
`;
265
263
266
264
exports[`options validate should throw an error on the "host" option with 'false' value 1`] = `
267
265
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
268
- - options.host should be a non-empty string.
266
+ - options.host should be one of these:
267
+ \\"local-ip\\" | \\"local-ipv4\\" | \\"local-ipv6\\" | non-empty string
269
268
-> Allows to specify a hostname to use.
270
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhost"
269
+ -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhost
270
+ Details:
271
+ * options.host should be one of these:
272
+ \\"local-ip\\" | \\"local-ipv4\\" | \\"local-ipv6\\"
273
+ * options.host should be a non-empty string."
271
274
`;
272
275
273
276
exports[`options validate should throw an error on the "host" option with 'null' value 1`] = `
274
277
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
275
- - options.host should be a non-empty string.
278
+ - options.host should be one of these:
279
+ \\"local-ip\\" | \\"local-ipv4\\" | \\"local-ipv6\\" | non-empty string
276
280
-> Allows to specify a hostname to use.
277
- -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhost"
281
+ -> Read more at https://webpack.js.org/configuration/dev-server/#devserverhost
282
+ Details:
283
+ * options.host should be one of these:
284
+ \\"local-ip\\" | \\"local-ipv4\\" | \\"local-ipv6\\"
285
+ * options.host should be a non-empty string."
278
286
`;
279
287
280
288
exports[`options validate should throw an error on the "hot" option with '' value 1`] = `
0 commit comments