webpack-dev-server 4.0.0-rc.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli-flags.js CHANGED
@@ -1,823 +1,847 @@
1
- 'use strict';
1
+ "use strict";
2
2
 
3
3
  module.exports = {
4
- 'allowed-hosts': {
4
+ "allowed-hosts": {
5
5
  configs: [
6
6
  {
7
- type: 'string',
7
+ type: "string",
8
8
  multiple: true,
9
9
  description:
10
10
  "Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').",
11
- path: 'allowedHosts[]',
11
+ path: "allowedHosts[]",
12
12
  },
13
13
  {
14
14
  description:
15
15
  "Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').",
16
16
  multiple: false,
17
- path: 'allowedHosts',
18
- type: 'enum',
19
- values: ['auto', 'all'],
17
+ path: "allowedHosts",
18
+ type: "enum",
19
+ values: ["auto", "all"],
20
20
  },
21
21
  ],
22
22
  description:
23
23
  "Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').",
24
24
  multiple: true,
25
- simpleType: 'string',
25
+ simpleType: "string",
26
26
  },
27
- 'allowed-hosts-reset': {
27
+ "allowed-hosts-reset": {
28
28
  configs: [
29
29
  {
30
- type: 'reset',
30
+ type: "reset",
31
31
  multiple: false,
32
32
  description:
33
33
  "Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').",
34
- path: 'allowedHosts',
34
+ path: "allowedHosts",
35
35
  },
36
36
  ],
37
37
  description:
38
38
  "Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto').",
39
- simpleType: 'boolean',
39
+ simpleType: "boolean",
40
40
  multiple: false,
41
41
  },
42
42
  bonjour: {
43
43
  configs: [
44
44
  {
45
- type: 'boolean',
45
+ type: "boolean",
46
46
  multiple: false,
47
47
  description:
48
- 'Allows to broadcasts dev server via ZeroConf networking on start.',
49
- path: 'bonjour',
48
+ "Allows to broadcasts dev server via ZeroConf networking on start.",
49
+ path: "bonjour",
50
50
  },
51
51
  ],
52
52
  description:
53
- 'Allows to broadcasts dev server via ZeroConf networking on start.',
53
+ "Allows to broadcasts dev server via ZeroConf networking on start.",
54
54
  negatedDescription:
55
- 'Disallows to broadcasts dev server via ZeroConf networking on start.',
56
- simpleType: 'boolean',
55
+ "Disallows to broadcasts dev server via ZeroConf networking on start.",
56
+ simpleType: "boolean",
57
57
  multiple: false,
58
58
  },
59
- 'client-web-socket-transport': {
59
+ "client-web-socket-transport": {
60
60
  configs: [
61
61
  {
62
- type: 'enum',
63
- values: ['sockjs', 'ws'],
62
+ type: "enum",
63
+ values: ["sockjs", "ws"],
64
64
  multiple: false,
65
65
  description:
66
- 'Allows to set custom web socket transport to communicate with dev server.',
67
- path: 'client.webSocketTransport',
66
+ "Allows to set custom web socket transport to communicate with dev server.",
67
+ path: "client.webSocketTransport",
68
68
  },
69
69
  {
70
- type: 'string',
70
+ type: "string",
71
71
  multiple: false,
72
72
  description:
73
- 'Allows to set custom web socket transport to communicate with dev server.',
74
- path: 'client.webSocketTransport',
73
+ "Allows to set custom web socket transport to communicate with dev server.",
74
+ path: "client.webSocketTransport",
75
75
  },
76
76
  ],
77
77
  description:
78
- 'Allows to set custom web socket transport to communicate with dev server.',
79
- simpleType: 'string',
78
+ "Allows to set custom web socket transport to communicate with dev server.",
79
+ simpleType: "string",
80
80
  multiple: false,
81
81
  },
82
82
  client: {
83
83
  configs: [
84
84
  {
85
85
  description:
86
- 'Allows to specify options for client script in the browser or disable client script.',
86
+ "Allows to specify options for client script in the browser or disable client script.",
87
87
  multiple: false,
88
- path: 'client',
89
- type: 'enum',
88
+ path: "client",
89
+ type: "enum",
90
90
  values: [false],
91
91
  },
92
92
  ],
93
93
  description:
94
- 'Allows to specify options for client script in the browser or disable client script.',
94
+ "Allows to specify options for client script in the browser or disable client script.",
95
95
  multiple: false,
96
- simpleType: 'boolean',
96
+ simpleType: "boolean",
97
97
  },
98
- 'client-logging': {
98
+ "client-logging": {
99
99
  configs: [
100
100
  {
101
- type: 'enum',
102
- values: ['none', 'error', 'warn', 'info', 'log', 'verbose'],
101
+ type: "enum",
102
+ values: ["none", "error", "warn", "info", "log", "verbose"],
103
103
  multiple: false,
104
104
  description:
105
- 'Allows to specify options for client script in the browser or disable client script.',
106
- path: 'client.logging',
105
+ "Allows to specify options for client script in the browser or disable client script.",
106
+ path: "client.logging",
107
107
  },
108
108
  ],
109
109
  description:
110
- 'Allows to specify options for client script in the browser or disable client script.',
111
- simpleType: 'string',
110
+ "Allows to specify options for client script in the browser or disable client script.",
111
+ simpleType: "string",
112
112
  multiple: false,
113
113
  },
114
- 'client-progress': {
114
+ "client-progress": {
115
115
  configs: [
116
116
  {
117
- type: 'boolean',
117
+ type: "boolean",
118
118
  multiple: false,
119
119
  description:
120
- 'Prints compilation progress in percentage in the browser.',
121
- path: 'client.progress',
120
+ "Prints compilation progress in percentage in the browser.",
121
+ path: "client.progress",
122
122
  },
123
123
  ],
124
- description: 'Prints compilation progress in percentage in the browser.',
124
+ description: "Prints compilation progress in percentage in the browser.",
125
125
  negatedDescription:
126
- 'Does not print compilation progress in percentage in the browser.',
127
- simpleType: 'boolean',
126
+ "Does not print compilation progress in percentage in the browser.",
127
+ simpleType: "boolean",
128
128
  multiple: false,
129
129
  },
130
- 'client-overlay': {
130
+ "client-overlay": {
131
131
  configs: [
132
132
  {
133
- type: 'boolean',
133
+ type: "boolean",
134
134
  multiple: false,
135
135
  description:
136
- 'Enables a full-screen overlay in the browser when there are compiler errors or warnings.',
137
- path: 'client.overlay',
136
+ "Enables a full-screen overlay in the browser when there are compiler errors or warnings.",
137
+ path: "client.overlay",
138
138
  },
139
139
  ],
140
140
  description:
141
- 'Enables a full-screen overlay in the browser when there are compiler errors or warnings.',
141
+ "Enables a full-screen overlay in the browser when there are compiler errors or warnings.",
142
142
  negatedDescription:
143
- 'Disables a full-screen overlay in the browser when there are compiler errors or warnings.',
144
- simpleType: 'boolean',
143
+ "Disables a full-screen overlay in the browser when there are compiler errors or warnings.",
144
+ simpleType: "boolean",
145
145
  multiple: false,
146
146
  },
147
- 'client-overlay-errors': {
147
+ "client-overlay-errors": {
148
148
  configs: [
149
149
  {
150
- type: 'boolean',
150
+ type: "boolean",
151
151
  multiple: false,
152
152
  description:
153
- 'Enables a full-screen overlay in the browser when there are compiler errors.',
154
- path: 'client.overlay.errors',
153
+ "Enables a full-screen overlay in the browser when there are compiler errors.",
154
+ path: "client.overlay.errors",
155
155
  },
156
156
  ],
157
157
  description:
158
- 'Enables a full-screen overlay in the browser when there are compiler errors.',
159
- simpleType: 'boolean',
158
+ "Enables a full-screen overlay in the browser when there are compiler errors.",
159
+ simpleType: "boolean",
160
160
  multiple: false,
161
161
  },
162
- 'client-overlay-warnings': {
162
+ "client-overlay-warnings": {
163
163
  configs: [
164
164
  {
165
- type: 'boolean',
165
+ type: "boolean",
166
166
  multiple: false,
167
167
  description:
168
- 'Enables a full-screen overlay in the browser when there are compiler warnings.',
169
- path: 'client.overlay.warnings',
168
+ "Enables a full-screen overlay in the browser when there are compiler warnings.",
169
+ path: "client.overlay.warnings",
170
170
  },
171
171
  ],
172
172
  description:
173
- 'Enables a full-screen overlay in the browser when there are compiler warnings.',
174
- simpleType: 'boolean',
173
+ "Enables a full-screen overlay in the browser when there are compiler warnings.",
174
+ simpleType: "boolean",
175
175
  multiple: false,
176
176
  },
177
- 'client-web-socket-url': {
177
+ "client-web-socket-url": {
178
178
  configs: [
179
179
  {
180
- type: 'string',
180
+ type: "string",
181
181
  multiple: false,
182
182
  description:
183
183
  "Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).",
184
- path: 'client.webSocketURL',
184
+ path: "client.webSocketURL",
185
185
  },
186
186
  ],
187
187
  description:
188
188
  "Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).",
189
- simpleType: 'string',
189
+ simpleType: "string",
190
190
  multiple: false,
191
191
  },
192
- 'client-web-socket-url-hostname': {
192
+ "client-web-socket-url-hostname": {
193
193
  configs: [
194
194
  {
195
- type: 'string',
195
+ type: "string",
196
196
  multiple: false,
197
197
  description:
198
- 'Tells clients connected to devServer to use the provided hostname.',
199
- path: 'client.webSocketURL.hostname',
198
+ "Tells clients connected to devServer to use the provided hostname.",
199
+ path: "client.webSocketURL.hostname",
200
200
  },
201
201
  ],
202
202
  description:
203
- 'Tells clients connected to devServer to use the provided hostname.',
204
- simpleType: 'string',
203
+ "Tells clients connected to devServer to use the provided hostname.",
204
+ simpleType: "string",
205
205
  multiple: false,
206
206
  },
207
- 'client-web-socket-url-port': {
207
+ "client-web-socket-url-port": {
208
208
  configs: [
209
209
  {
210
- type: 'number',
210
+ type: "number",
211
211
  multiple: false,
212
212
  description:
213
- 'Tells clients connected to devServer to use the provided port.',
214
- path: 'client.webSocketURL.port',
213
+ "Tells clients connected to devServer to use the provided port.",
214
+ path: "client.webSocketURL.port",
215
215
  },
216
216
  {
217
217
  description:
218
- 'Tells clients connected to devServer to use the provided port.',
218
+ "Tells clients connected to devServer to use the provided port.",
219
219
  multiple: false,
220
- path: 'client.webSocketURL.port',
221
- type: 'string',
220
+ path: "client.webSocketURL.port",
221
+ type: "string",
222
222
  },
223
223
  ],
224
224
  description:
225
- 'Tells clients connected to devServer to use the provided port.',
226
- simpleType: 'string',
225
+ "Tells clients connected to devServer to use the provided port.",
226
+ simpleType: "string",
227
227
  multiple: false,
228
228
  },
229
- 'client-web-socket-url-pathname': {
229
+ "client-web-socket-url-pathname": {
230
230
  configs: [
231
231
  {
232
- type: 'string',
232
+ type: "string",
233
233
  multiple: false,
234
234
  description:
235
- 'Tells clients connected to devServer to use the provided path to connect.',
236
- path: 'client.webSocketURL.pathname',
235
+ "Tells clients connected to devServer to use the provided path to connect.",
236
+ path: "client.webSocketURL.pathname",
237
237
  },
238
238
  ],
239
239
  description:
240
- 'Tells clients connected to devServer to use the provided path to connect.',
241
- simpleType: 'string',
240
+ "Tells clients connected to devServer to use the provided path to connect.",
241
+ simpleType: "string",
242
242
  multiple: false,
243
243
  },
244
- 'client-web-socket-url-protocol': {
244
+ "client-web-socket-url-protocol": {
245
245
  configs: [
246
246
  {
247
247
  description:
248
- 'Tells clients connected to devServer to use the provided protocol.',
248
+ "Tells clients connected to devServer to use the provided protocol.",
249
249
  multiple: false,
250
- path: 'client.webSocketURL.protocol',
251
- type: 'enum',
252
- values: ['auto'],
250
+ path: "client.webSocketURL.protocol",
251
+ type: "enum",
252
+ values: ["auto"],
253
253
  },
254
254
  {
255
255
  description:
256
- 'Tells clients connected to devServer to use the provided protocol.',
256
+ "Tells clients connected to devServer to use the provided protocol.",
257
257
  multiple: false,
258
- path: 'client.webSocketURL.protocol',
259
- type: 'string',
258
+ path: "client.webSocketURL.protocol",
259
+ type: "string",
260
260
  },
261
261
  ],
262
262
  description:
263
- 'Tells clients connected to devServer to use the provided protocol.',
263
+ "Tells clients connected to devServer to use the provided protocol.",
264
264
  multiple: false,
265
- simpleType: 'string',
265
+ simpleType: "string",
266
266
  },
267
- 'client-web-socket-url-username': {
267
+ "client-web-socket-url-username": {
268
268
  configs: [
269
269
  {
270
- type: 'string',
270
+ type: "string",
271
271
  multiple: false,
272
272
  description:
273
- 'Tells clients connected to devServer to use the provided username to authenticate.',
274
- path: 'client.webSocketURL.username',
273
+ "Tells clients connected to devServer to use the provided username to authenticate.",
274
+ path: "client.webSocketURL.username",
275
275
  },
276
276
  ],
277
277
  description:
278
- 'Tells clients connected to devServer to use the provided username to authenticate.',
279
- simpleType: 'string',
278
+ "Tells clients connected to devServer to use the provided username to authenticate.",
279
+ simpleType: "string",
280
280
  multiple: false,
281
281
  },
282
- 'client-web-socket-url-password': {
282
+ "client-web-socket-url-password": {
283
283
  configs: [
284
284
  {
285
- type: 'string',
285
+ type: "string",
286
286
  multiple: false,
287
287
  description:
288
- 'Tells clients connected to devServer to use the provided password to authenticate.',
289
- path: 'client.webSocketURL.password',
288
+ "Tells clients connected to devServer to use the provided password to authenticate.",
289
+ path: "client.webSocketURL.password",
290
290
  },
291
291
  ],
292
292
  description:
293
- 'Tells clients connected to devServer to use the provided password to authenticate.',
294
- simpleType: 'string',
293
+ "Tells clients connected to devServer to use the provided password to authenticate.",
294
+ simpleType: "string",
295
295
  multiple: false,
296
296
  },
297
- 'web-socket-server': {
297
+ "web-socket-server": {
298
298
  configs: [
299
299
  {
300
- type: 'enum',
301
- values: [false, 'sockjs', 'ws'],
300
+ type: "enum",
301
+ values: [false, "sockjs", "ws"],
302
302
  multiple: false,
303
303
  description:
304
304
  "Allows to set web socket server and options (by default 'ws').",
305
- path: 'webSocketServer',
305
+ path: "webSocketServer",
306
306
  },
307
307
  {
308
- type: 'string',
308
+ type: "string",
309
309
  multiple: false,
310
310
  description:
311
311
  "Allows to set web socket server and options (by default 'ws').",
312
- path: 'webSocketServer',
312
+ path: "webSocketServer",
313
313
  },
314
314
  ],
315
315
  description:
316
316
  "Allows to set web socket server and options (by default 'ws').",
317
- simpleType: 'string',
317
+ simpleType: "string",
318
318
  multiple: false,
319
319
  },
320
320
  compress: {
321
321
  configs: [
322
322
  {
323
- type: 'boolean',
323
+ type: "boolean",
324
324
  multiple: false,
325
- description: 'Enables gzip compression for everything served.',
326
- path: 'compress',
325
+ description: "Enables gzip compression for everything served.",
326
+ path: "compress",
327
327
  },
328
328
  ],
329
- description: 'Enables gzip compression for everything served.',
330
- negatedDescription: 'Disables gzip compression for everything served.',
331
- simpleType: 'boolean',
329
+ description: "Enables gzip compression for everything served.",
330
+ negatedDescription: "Disables gzip compression for everything served.",
331
+ simpleType: "boolean",
332
332
  multiple: false,
333
333
  },
334
- 'history-api-fallback': {
334
+ "history-api-fallback": {
335
335
  configs: [
336
336
  {
337
- type: 'boolean',
337
+ type: "boolean",
338
338
  multiple: false,
339
339
  description:
340
340
  "Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API.",
341
- path: 'historyApiFallback',
341
+ path: "historyApiFallback",
342
342
  },
343
343
  ],
344
344
  description:
345
345
  "Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API.",
346
- simpleType: 'boolean',
346
+ simpleType: "boolean",
347
347
  multiple: false,
348
348
  },
349
349
  host: {
350
350
  configs: [
351
351
  {
352
- type: 'string',
352
+ description: "Allows to specify a hostname to use.",
353
353
  multiple: false,
354
- description: 'Allows to specify a hostname to use.',
355
- path: 'host',
354
+ path: "host",
355
+ type: "enum",
356
+ values: ["local-ip", "local-ipv4", "local-ipv6"],
357
+ },
358
+ {
359
+ description: "Allows to specify a hostname to use.",
360
+ multiple: false,
361
+ path: "host",
362
+ type: "string",
356
363
  },
357
364
  ],
358
- description: 'Allows to specify a hostname to use.',
359
- simpleType: 'string',
365
+ description: "Allows to specify a hostname to use.",
366
+ simpleType: "string",
360
367
  multiple: false,
361
368
  },
362
369
  hot: {
363
370
  configs: [
364
371
  {
365
- type: 'boolean',
372
+ type: "boolean",
366
373
  multiple: false,
367
- description: 'Enables Hot Module Replacement.',
368
- path: 'hot',
374
+ description: "Enables Hot Module Replacement.",
375
+ path: "hot",
369
376
  },
370
377
  {
371
- type: 'enum',
372
- values: ['only'],
378
+ type: "enum",
379
+ values: ["only"],
373
380
  multiple: false,
374
- description: 'Enables Hot Module Replacement.',
375
- path: 'hot',
381
+ description: "Enables Hot Module Replacement.",
382
+ path: "hot",
376
383
  },
377
384
  ],
378
- description: 'Enables Hot Module Replacement.',
379
- negatedDescription: 'Disables Hot Module Replacement.',
380
- simpleType: 'string',
385
+ description: "Enables Hot Module Replacement.",
386
+ negatedDescription: "Disables Hot Module Replacement.",
387
+ simpleType: "string",
381
388
  multiple: false,
382
389
  },
383
390
  http2: {
384
391
  configs: [
385
392
  {
386
- type: 'boolean',
393
+ type: "boolean",
387
394
  multiple: false,
388
- description: 'Allows to serve over HTTP/2 using SPDY.',
389
- path: 'http2',
395
+ description: "Allows to serve over HTTP/2 using SPDY.",
396
+ path: "http2",
390
397
  },
391
398
  ],
392
- description: 'Allows to serve over HTTP/2 using SPDY.',
393
- negatedDescription: 'Does not serve over HTTP/2 using SPDY.',
394
- simpleType: 'boolean',
399
+ description: "Allows to serve over HTTP/2 using SPDY.",
400
+ negatedDescription: "Does not serve over HTTP/2 using SPDY.",
401
+ simpleType: "boolean",
395
402
  multiple: false,
396
403
  },
397
404
  https: {
398
405
  configs: [
399
406
  {
400
- type: 'boolean',
407
+ type: "boolean",
401
408
  multiple: false,
402
409
  description:
403
410
  "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
404
- path: 'https',
411
+ path: "https",
405
412
  },
406
413
  ],
407
414
  description:
408
415
  "Allows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
409
416
  negatedDescription:
410
417
  "Disallows to configure the server's listening socket for TLS (by default, dev server will be served over HTTP).",
411
- simpleType: 'boolean',
418
+ simpleType: "boolean",
412
419
  multiple: false,
413
420
  },
414
- 'https-passphrase': {
421
+ "https-passphrase": {
415
422
  configs: [
416
423
  {
417
- type: 'string',
424
+ type: "string",
418
425
  multiple: false,
419
- description: 'Passphrase for a pfx file.',
420
- path: 'https.passphrase',
426
+ description: "Passphrase for a pfx file.",
427
+ path: "https.passphrase",
421
428
  },
422
429
  ],
423
- description: 'Passphrase for a pfx file.',
424
- simpleType: 'string',
430
+ description: "Passphrase for a pfx file.",
431
+ simpleType: "string",
425
432
  multiple: false,
426
433
  },
427
- 'https-request-cert': {
434
+ "https-request-cert": {
428
435
  configs: [
429
436
  {
430
- type: 'boolean',
437
+ type: "boolean",
431
438
  multiple: false,
432
- description: 'Request for an SSL certificate.',
433
- path: 'https.requestCert',
439
+ description: "Request for an SSL certificate.",
440
+ path: "https.requestCert",
434
441
  },
435
442
  ],
436
- description: 'Request for an SSL certificate.',
437
- negatedDescription: 'Does not request for an SSL certificate.',
438
- simpleType: 'boolean',
443
+ description: "Request for an SSL certificate.",
444
+ negatedDescription: "Does not request for an SSL certificate.",
445
+ simpleType: "boolean",
439
446
  multiple: false,
440
447
  },
441
- 'https-cacert': {
448
+ "https-cacert": {
442
449
  configs: [
443
450
  {
444
- type: 'string',
451
+ type: "string",
445
452
  multiple: false,
446
- description: 'Path to an SSL CA certificate.',
447
- path: 'https.cacert',
453
+ description: "Path to an SSL CA certificate.",
454
+ path: "https.cacert",
448
455
  },
449
456
  ],
450
- description: 'Path to an SSL CA certificate.',
451
- simpleType: 'string',
457
+ description: "Path to an SSL CA certificate.",
458
+ simpleType: "string",
452
459
  multiple: false,
453
460
  },
454
- 'https-key': {
461
+ "https-key": {
455
462
  configs: [
456
463
  {
457
- type: 'string',
464
+ type: "string",
458
465
  multiple: false,
459
- description: 'Path to an SSL key.',
460
- path: 'https.key',
466
+ description: "Path to an SSL key.",
467
+ path: "https.key",
461
468
  },
462
469
  ],
463
- description: 'Path to an SSL key.',
464
- simpleType: 'string',
470
+ description: "Path to an SSL key.",
471
+ simpleType: "string",
465
472
  multiple: false,
466
473
  },
467
- 'https-pfx': {
474
+ "https-pfx": {
468
475
  configs: [
469
476
  {
470
- type: 'string',
477
+ type: "string",
471
478
  multiple: false,
472
- description: 'Path to an SSL pfx file.',
473
- path: 'https.pfx',
479
+ description: "Path to an SSL pfx file.",
480
+ path: "https.pfx",
474
481
  },
475
482
  ],
476
- description: 'Path to an SSL pfx file.',
477
- simpleType: 'string',
483
+ description: "Path to an SSL pfx file.",
484
+ simpleType: "string",
478
485
  multiple: false,
479
486
  },
480
- 'https-cert': {
487
+ "https-cert": {
481
488
  configs: [
482
489
  {
483
- type: 'string',
490
+ type: "string",
484
491
  multiple: false,
485
- description: 'Path to an SSL certificate.',
486
- path: 'https.cert',
492
+ description: "Path to an SSL certificate.",
493
+ path: "https.cert",
487
494
  },
488
495
  ],
489
- description: 'Path to an SSL certificate.',
490
- simpleType: 'string',
496
+ description: "Path to an SSL certificate.",
497
+ simpleType: "string",
491
498
  multiple: false,
492
499
  },
493
500
  ipc: {
494
501
  configs: [
495
502
  {
496
- type: 'string',
503
+ type: "string",
497
504
  multiple: false,
498
- description: 'Listen to a unix socket.',
499
- path: 'ipc',
505
+ description: "Listen to a unix socket.",
506
+ path: "ipc",
500
507
  },
501
508
  {
502
- type: 'enum',
509
+ type: "enum",
503
510
  values: [true],
504
511
  multiple: false,
505
- description: 'Listen to a unix socket.',
506
- path: 'ipc',
512
+ description: "Listen to a unix socket.",
513
+ path: "ipc",
507
514
  },
508
515
  ],
509
- description: 'Listen to a unix socket.',
510
- simpleType: 'string',
516
+ description: "Listen to a unix socket.",
517
+ simpleType: "string",
518
+ multiple: false,
519
+ },
520
+ "live-reload": {
521
+ configs: [
522
+ {
523
+ type: "boolean",
524
+ multiple: false,
525
+ description:
526
+ "Enables reload/refresh the page(s) when file changes are detected (enabled by default).",
527
+ path: "liveReload",
528
+ },
529
+ ],
530
+ description:
531
+ "Enables reload/refresh the page(s) when file changes are detected (enabled by default).",
532
+ negatedDescription:
533
+ "Disables reload/refresh the page(s) when file changes are detected (enabled by default)",
534
+ simpleType: "boolean",
511
535
  multiple: false,
512
536
  },
513
- 'live-reload': {
537
+ "magic-html": {
514
538
  configs: [
515
539
  {
516
- type: 'boolean',
540
+ type: "boolean",
517
541
  multiple: false,
518
542
  description:
519
- 'Enables reload/refresh the page(s) when file changes are detected (enabled by default).',
520
- path: 'liveReload',
543
+ "Tells dev-server whether to enable magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').",
544
+ path: "magicHtml",
521
545
  },
522
546
  ],
523
547
  description:
524
- 'Enables reload/refresh the page(s) when file changes are detected (enabled by default).',
548
+ "Tells dev-server whether to enable magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').",
525
549
  negatedDescription:
526
- 'Disables reload/refresh the page(s) when file changes are detected (enabled by default)',
527
- simpleType: 'boolean',
550
+ "Disables magic HTML routes (routes corresponding to your webpack output, for example '/main' for 'main.js').",
551
+ simpleType: "boolean",
528
552
  multiple: false,
529
553
  },
530
554
  open: {
531
555
  configs: [
532
556
  {
533
- type: 'string',
557
+ type: "string",
534
558
  multiple: true,
535
559
  description:
536
- 'Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).',
537
- path: 'open[]',
560
+ "Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).",
561
+ path: "open[]",
538
562
  },
539
563
  {
540
- type: 'boolean',
564
+ type: "boolean",
541
565
  multiple: false,
542
566
  description:
543
- 'Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).',
544
- path: 'open',
567
+ "Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).",
568
+ path: "open",
545
569
  },
546
570
  ],
547
571
  description:
548
- 'Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).',
549
- negatedDescription: 'Does not open the default browser.',
550
- simpleType: 'string',
572
+ "Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).",
573
+ negatedDescription: "Does not open the default browser.",
574
+ simpleType: "string",
551
575
  multiple: true,
552
576
  },
553
- 'open-target': {
577
+ "open-target": {
554
578
  configs: [
555
579
  {
556
- type: 'string',
580
+ type: "string",
557
581
  multiple: true,
558
- description: 'Opens specified page in browser.',
559
- path: 'open[].target',
582
+ description: "Opens specified page in browser.",
583
+ path: "open[].target",
560
584
  },
561
585
  {
562
- type: 'string',
586
+ type: "string",
563
587
  multiple: true,
564
- description: 'Opens specified page in browser.',
565
- path: 'open.target[]',
588
+ description: "Opens specified page in browser.",
589
+ path: "open.target[]",
566
590
  },
567
591
  ],
568
- description: 'Opens specified page in browser.',
569
- negatedDescription: 'Does not open specified page in browser.',
570
- simpleType: 'string',
592
+ description: "Opens specified page in browser.",
593
+ negatedDescription: "Does not open specified page in browser.",
594
+ simpleType: "string",
571
595
  multiple: true,
572
596
  },
573
- 'open-app-name': {
597
+ "open-app-name": {
574
598
  configs: [
575
599
  {
576
- type: 'string',
600
+ type: "string",
577
601
  multiple: true,
578
- description: 'Open specified browser.',
579
- path: 'open[].app.name',
602
+ description: "Open specified browser.",
603
+ path: "open[].app.name",
580
604
  },
581
605
  {
582
- type: 'string',
606
+ type: "string",
583
607
  multiple: true,
584
- description: 'Open specified browser.',
585
- path: 'open.app.name[]',
608
+ description: "Open specified browser.",
609
+ path: "open.app.name[]",
586
610
  },
587
611
  ],
588
- description: 'Open specified browser.',
589
- simpleType: 'string',
612
+ description: "Open specified browser.",
613
+ simpleType: "string",
590
614
  multiple: true,
591
615
  },
592
- 'open-app': {
616
+ "open-app": {
593
617
  configs: [
594
618
  {
595
- type: 'string',
619
+ type: "string",
596
620
  multiple: true,
597
- description: 'Open specified browser.',
598
- path: 'open[].app',
621
+ description: "Open specified browser.",
622
+ path: "open[].app",
599
623
  },
600
624
  ],
601
- description: 'Open specified browser.',
602
- simpleType: 'string',
625
+ description: "Open specified browser.",
626
+ simpleType: "string",
603
627
  multiple: true,
604
628
  },
605
- 'open-reset': {
629
+ "open-reset": {
606
630
  configs: [
607
631
  {
608
- type: 'reset',
632
+ type: "reset",
609
633
  multiple: false,
610
634
  description:
611
635
  "Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).",
612
- path: 'open',
636
+ path: "open",
613
637
  },
614
638
  ],
615
639
  description:
616
640
  "Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser).",
617
- simpleType: 'boolean',
641
+ simpleType: "boolean",
618
642
  multiple: false,
619
643
  },
620
- 'open-target-reset': {
644
+ "open-target-reset": {
621
645
  configs: [
622
646
  {
623
- type: 'reset',
647
+ type: "reset",
624
648
  multiple: false,
625
649
  description:
626
650
  "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
627
- path: 'open.target',
651
+ path: "open.target",
628
652
  },
629
653
  ],
630
654
  description:
631
655
  "Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
632
- simpleType: 'boolean',
656
+ simpleType: "boolean",
633
657
  multiple: false,
634
658
  },
635
- 'open-app-name-reset': {
659
+ "open-app-name-reset": {
636
660
  configs: [
637
661
  {
638
- type: 'reset',
662
+ type: "reset",
639
663
  multiple: false,
640
664
  description:
641
665
  "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
642
- path: 'open.app.name',
666
+ path: "open.app.name",
643
667
  },
644
668
  ],
645
669
  description:
646
670
  "Clear all items provided in 'open.app.name' configuration. Open specified browser.",
647
- simpleType: 'boolean',
671
+ simpleType: "boolean",
648
672
  multiple: false,
649
673
  },
650
674
  port: {
651
675
  configs: [
652
676
  {
653
- type: 'number',
677
+ type: "number",
654
678
  multiple: false,
655
- description: 'Allows to specify a port to use.',
656
- path: 'port',
679
+ description: "Allows to specify a port to use.",
680
+ path: "port",
657
681
  },
658
682
  {
659
- type: 'string',
683
+ type: "string",
660
684
  multiple: false,
661
- description: 'Allows to specify a port to use.',
662
- path: 'port',
685
+ description: "Allows to specify a port to use.",
686
+ path: "port",
663
687
  },
664
688
  {
665
- type: 'enum',
666
- values: ['auto'],
689
+ type: "enum",
690
+ values: ["auto"],
667
691
  multiple: false,
668
- description: 'Allows to specify a port to use.',
669
- path: 'port',
692
+ description: "Allows to specify a port to use.",
693
+ path: "port",
670
694
  },
671
695
  ],
672
- description: 'Allows to specify a port to use.',
673
- simpleType: 'string',
696
+ description: "Allows to specify a port to use.",
697
+ simpleType: "string",
674
698
  multiple: false,
675
699
  },
676
700
  static: {
677
701
  configs: [
678
702
  {
679
- type: 'string',
703
+ type: "string",
680
704
  multiple: true,
681
705
  description:
682
706
  "Allows to configure options for serving static files from directory (by default 'public' directory).",
683
- path: 'static[]',
707
+ path: "static[]",
684
708
  },
685
709
  {
686
- type: 'boolean',
710
+ type: "boolean",
687
711
  multiple: false,
688
712
  description:
689
713
  "Allows to configure options for serving static files from directory (by default 'public' directory).",
690
- path: 'static',
714
+ path: "static",
691
715
  },
692
716
  ],
693
717
  description:
694
718
  "Allows to configure options for serving static files from directory (by default 'public' directory).",
695
- simpleType: 'string',
719
+ simpleType: "string",
696
720
  multiple: true,
697
721
  },
698
- 'static-directory': {
722
+ "static-directory": {
699
723
  configs: [
700
724
  {
701
- type: 'string',
725
+ type: "string",
702
726
  multiple: true,
703
- description: 'Directory for static contents.',
704
- path: 'static[].directory',
727
+ description: "Directory for static contents.",
728
+ path: "static[].directory",
705
729
  },
706
730
  ],
707
- description: 'Directory for static contents.',
708
- simpleType: 'string',
731
+ description: "Directory for static contents.",
732
+ simpleType: "string",
709
733
  multiple: true,
710
734
  },
711
- 'static-public-path': {
735
+ "static-public-path": {
712
736
  configs: [
713
737
  {
714
- type: 'string',
738
+ type: "string",
715
739
  multiple: true,
716
740
  description:
717
- 'The static files will be available in the browser under this public path.',
718
- path: 'static[].publicPath',
741
+ "The static files will be available in the browser under this public path.",
742
+ path: "static[].publicPath",
719
743
  },
720
744
  {
721
- type: 'string',
745
+ type: "string",
722
746
  multiple: true,
723
747
  description:
724
- 'The static files will be available in the browser under this public path.',
725
- path: 'static.publicPath[]',
748
+ "The static files will be available in the browser under this public path.",
749
+ path: "static.publicPath[]",
726
750
  },
727
751
  ],
728
752
  description:
729
- 'The static files will be available in the browser under this public path.',
730
- simpleType: 'string',
753
+ "The static files will be available in the browser under this public path.",
754
+ simpleType: "string",
731
755
  multiple: true,
732
756
  },
733
- 'static-serve-index': {
757
+ "static-serve-index": {
734
758
  configs: [
735
759
  {
736
- type: 'boolean',
760
+ type: "boolean",
737
761
  multiple: true,
738
762
  description:
739
- 'Tells dev server to use serveIndex middleware when enabled.',
740
- path: 'static[].serveIndex',
763
+ "Tells dev server to use serveIndex middleware when enabled.",
764
+ path: "static[].serveIndex",
741
765
  },
742
766
  ],
743
- description: 'Tells dev server to use serveIndex middleware when enabled.',
767
+ description: "Tells dev server to use serveIndex middleware when enabled.",
744
768
  negatedDescription:
745
- 'Does not tell dev server to use serveIndex middleware.',
746
- simpleType: 'boolean',
769
+ "Does not tell dev server to use serveIndex middleware.",
770
+ simpleType: "boolean",
747
771
  multiple: true,
748
772
  },
749
- 'static-watch': {
773
+ "static-watch": {
750
774
  configs: [
751
775
  {
752
- type: 'boolean',
776
+ type: "boolean",
753
777
  multiple: true,
754
- description: 'Watches for files in static content directory.',
755
- path: 'static[].watch',
778
+ description: "Watches for files in static content directory.",
779
+ path: "static[].watch",
756
780
  },
757
781
  ],
758
- description: 'Watches for files in static content directory.',
759
- negatedDescription: 'Does not watch for files in static content directory.',
760
- simpleType: 'boolean',
782
+ description: "Watches for files in static content directory.",
783
+ negatedDescription: "Does not watch for files in static content directory.",
784
+ simpleType: "boolean",
761
785
  multiple: true,
762
786
  },
763
- 'static-reset': {
787
+ "static-reset": {
764
788
  configs: [
765
789
  {
766
- type: 'reset',
790
+ type: "reset",
767
791
  multiple: false,
768
792
  description:
769
793
  "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
770
- path: 'static',
794
+ path: "static",
771
795
  },
772
796
  ],
773
797
  description:
774
798
  "Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory).",
775
- simpleType: 'boolean',
799
+ simpleType: "boolean",
776
800
  multiple: false,
777
801
  },
778
- 'static-public-path-reset': {
802
+ "static-public-path-reset": {
779
803
  configs: [
780
804
  {
781
- type: 'reset',
805
+ type: "reset",
782
806
  multiple: false,
783
807
  description:
784
808
  "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
785
- path: 'static.publicPath',
809
+ path: "static.publicPath",
786
810
  },
787
811
  ],
788
812
  description:
789
813
  "Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
790
- simpleType: 'boolean',
814
+ simpleType: "boolean",
791
815
  multiple: false,
792
816
  },
793
- 'watch-files': {
817
+ "watch-files": {
794
818
  configs: [
795
819
  {
796
- type: 'string',
820
+ type: "string",
797
821
  multiple: true,
798
822
  description:
799
- 'Allows to configure list of globs/directories/files to watch for file changes.',
800
- path: 'watchFiles[]',
823
+ "Allows to configure list of globs/directories/files to watch for file changes.",
824
+ path: "watchFiles[]",
801
825
  },
802
826
  ],
803
827
  description:
804
- 'Allows to configure list of globs/directories/files to watch for file changes.',
805
- simpleType: 'string',
828
+ "Allows to configure list of globs/directories/files to watch for file changes.",
829
+ simpleType: "string",
806
830
  multiple: true,
807
831
  },
808
- 'watch-files-reset': {
832
+ "watch-files-reset": {
809
833
  configs: [
810
834
  {
811
- type: 'reset',
835
+ type: "reset",
812
836
  multiple: false,
813
837
  description:
814
838
  "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
815
- path: 'watchFiles',
839
+ path: "watchFiles",
816
840
  },
817
841
  ],
818
842
  description:
819
843
  "Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes.",
820
- simpleType: 'boolean',
844
+ simpleType: "boolean",
821
845
  multiple: false,
822
846
  },
823
847
  };