You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/options.json
+64-15Lines changed: 64 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@
10
10
"minLength": 1
11
11
},
12
12
"staticOptions": {
13
-
"type": "object"
13
+
"type": "object",
14
+
"additionalProperties": true
14
15
},
15
16
"publicPath": {
16
17
"anyOf": [
@@ -34,7 +35,8 @@
34
35
"type": "boolean"
35
36
},
36
37
{
37
-
"type": "object"
38
+
"type": "object",
39
+
"additionalProperties": true
38
40
}
39
41
]
40
42
},
@@ -53,6 +55,54 @@
53
55
"StaticString": {
54
56
"type": "string",
55
57
"minLength": 1
58
+
},
59
+
"OpenBoolean": {
60
+
"type": "boolean"
61
+
},
62
+
"OpenString": {
63
+
"type": "string",
64
+
"minLength": 1
65
+
},
66
+
"OpenObject": {
67
+
"type": "object",
68
+
"additionalProperties": false,
69
+
"properties": {
70
+
"target": {
71
+
"anyOf": [
72
+
{
73
+
"type": "boolean"
74
+
},
75
+
{
76
+
"type": "string",
77
+
"minLength": 1
78
+
},
79
+
{
80
+
"type": "array",
81
+
"items": {
82
+
"type": "string",
83
+
"minLength": 1
84
+
},
85
+
"minItems": 1
86
+
}
87
+
]
88
+
},
89
+
"app": {
90
+
"anyOf": [
91
+
{
92
+
"type": "string",
93
+
"minLength": 1
94
+
},
95
+
{
96
+
"type": "array",
97
+
"items": {
98
+
"type": "string",
99
+
"minLength": 1
100
+
},
101
+
"minItems": 1
102
+
}
103
+
]
104
+
}
105
+
}
56
106
}
57
107
},
58
108
"properties": {
@@ -258,25 +308,25 @@
258
308
"open": {
259
309
"anyOf": [
260
310
{
261
-
"type": "string"
311
+
"$ref": "#/definitions/OpenBoolean"
262
312
},
263
313
{
264
-
"type": "boolean"
314
+
"$ref": "#/definitions/OpenString"
265
315
},
266
316
{
267
-
"type": "object"
268
-
}
269
-
]
270
-
},
271
-
"openPage": {
272
-
"anyOf": [
273
-
{
274
-
"type": "string"
317
+
"$ref": "#/definitions/OpenObject"
275
318
},
276
319
{
277
320
"type": "array",
278
321
"items": {
279
-
"type": "string"
322
+
"anyOf": [
323
+
{
324
+
"$ref": "#/definitions/OpenString"
325
+
},
326
+
{
327
+
"$ref": "#/definitions/OpenObject"
328
+
}
329
+
]
280
330
},
281
331
"minItems": 1
282
332
}
@@ -393,8 +443,7 @@
393
443
"onAfterSetupMiddleware": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserverafter)",
394
444
"onBeforeSetupMiddleware": "should be {Function} (https://webpack.js.org/configuration/dev-server/#devserverbefore)",
395
445
"onListening": "should be {Function} (https://webpack.js.org/configuration/dev-server/#onlistening)",
396
-
"open": "should be {String|Boolean|Object} (https://webpack.js.org/configuration/dev-server/#devserveropen)",
397
-
"openPage": "should be {String|Array} (https://webpack.js.org/configuration/dev-server/#devserveropenpage)",
446
+
"open": "should be {Boolean|String|(STRING | Object)[]} (https://webpack.js.org/configuration/dev-server/#devserveropen)",
398
447
"port": "should be {Number|String|Null} (https://webpack.js.org/configuration/dev-server/#devserverport)",
399
448
"proxy": "should be {Object|Array} (https://webpack.js.org/configuration/dev-server/#devserverproxy)",
400
449
"public": "should be {String} (https://webpack.js.org/configuration/dev-server/#devserverpublic)",
0 commit comments