|
39 | 39 | "clientLogLevel": { |
40 | 40 | "enum": ["info", "warn", "error", "debug", "trace", "silent"] |
41 | 41 | }, |
| 42 | + "clientSocketOptions": { |
| 43 | + "type": "object", |
| 44 | + "properties": { |
| 45 | + "host": { |
| 46 | + "type": "string" |
| 47 | + }, |
| 48 | + "path": { |
| 49 | + "type": "string" |
| 50 | + }, |
| 51 | + "port": { |
| 52 | + "anyOf": [ |
| 53 | + { |
| 54 | + "type": "string" |
| 55 | + }, |
| 56 | + { |
| 57 | + "type": "number" |
| 58 | + } |
| 59 | + ] |
| 60 | + } |
| 61 | + } |
| 62 | + }, |
42 | 63 | "compress": { |
43 | 64 | "type": "boolean" |
44 | 65 | }, |
|
297 | 318 | "setup": { |
298 | 319 | "instanceof": "Function" |
299 | 320 | }, |
300 | | - "sockHost": { |
301 | | - "type": "string" |
302 | | - }, |
303 | | - "sockPath": { |
304 | | - "type": "string" |
305 | | - }, |
306 | | - "sockPort": { |
307 | | - "anyOf": [ |
308 | | - { |
309 | | - "type": "number" |
310 | | - }, |
311 | | - { |
312 | | - "type": "string" |
313 | | - }, |
314 | | - { |
315 | | - "type": "null" |
316 | | - } |
317 | | - ] |
318 | | - }, |
319 | 321 | "socket": { |
320 | 322 | "type": "string" |
321 | 323 | }, |
|
403 | 405 | "ca": "should be {String|Buffer}", |
404 | 406 | "cert": "should be {String|Buffer}", |
405 | 407 | "clientLogLevel": "should be {String} and equal to one of the allowed values\n\n [ 'silent', 'info', 'debug', 'trace', 'error', 'warn' ]\n\n (https://webpack.js.org/configuration/dev-server/#devserverclientloglevel)", |
| 408 | + "clientSocketOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverclientsocketoptions)", |
406 | 409 | "compress": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devservercompress)", |
407 | 410 | "contentBase": "should be {Number|String|Array} (https://webpack.js.org/configuration/dev-server/#devservercontentbase)", |
408 | 411 | "disableHostCheck": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverdisablehostcheck)", |
|
446 | 449 | "serveIndex": "should be {Boolean} (https://webpack.js.org/configuration/dev-server/#devserverserveindex)", |
447 | 450 | "serverSideRender": "should be {Boolean} (https://github.com/webpack/webpack-dev-middleware#serversiderender)", |
448 | 451 | "setup": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserversetup)", |
449 | | - "sockHost": "should be {String|Null} (https://webpack.js.org/configuration/dev-server/#devserversockhost)", |
450 | | - "sockPath": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserversockpath)", |
451 | | - "sockPort": "should be {Number|String|Null} (https://webpack.js.org/configuration/dev-server/#devserversockport)", |
452 | 452 | "socket": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserversocket)", |
453 | 453 | "staticOptions": "should be {Object} (https://webpack.js.org/configuration/dev-server/#devserverstaticoptions)", |
454 | 454 | "stats": "should be {Object|Boolean} (https://webpack.js.org/configuration/dev-server/#devserverstats-)", |
|
0 commit comments