Skip to content

Commit 6ae4a5d

Browse files
committed
Update valid json object to reflect alphabetical order. Updated json schema to reflect correct values.
1 parent 68a0d58 commit 6ae4a5d

File tree

2 files changed

+23
-68
lines changed

2 files changed

+23
-68
lines changed

schema/schema.json

Lines changed: 19 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -2,75 +2,30 @@
22
"$schema": "http://json-schema.org/draft-04/schema#",
33
"type": "object",
44
"properties": {
5-
"fallbackLoader": {
6-
"type": "object",
7-
"properties": {
8-
"type": {
9-
"type": "string"
10-
}
11-
},
12-
"required": [
13-
"type"
14-
]
15-
},
16-
"loader": {
17-
"type": "object",
18-
"properties": {
19-
"type": {
20-
"type": "string"
21-
}
22-
},
23-
"required": [
24-
"type"
25-
]
26-
},
27-
"publicPath": {
28-
"type": "object",
29-
"properties": {
30-
"type": {
31-
"type": "string"
32-
}
33-
},
34-
"required": [
35-
"type"
36-
]
5+
"allChunks": {
6+
"description": "",
7+
"type": "boolean"
378
},
389
"disable": {
39-
"type": "object",
40-
"properties": {
41-
"type": {
42-
"type": "string"
43-
}
44-
},
45-
"required": [
46-
"type"
47-
]
10+
"description": "",
11+
"type": "boolean"
4812
},
49-
"allChunks": {
50-
"type": "object",
51-
"properties": {
52-
"type": {
53-
"type": "string"
54-
}
55-
},
56-
"required": [
57-
"type"
58-
]
13+
"fallbackLoader": {
14+
"description": "A loader that webpack can fall back to if the original one fails.",
15+
"type": "string"
5916
},
6017
"filename": {
61-
"type": "object",
62-
"properties": {
63-
"type": {
64-
"type": "string"
65-
}
66-
},
67-
"required": [
68-
"type"
69-
]
18+
"description": "The filename and path that ExtractTextPlugin will extract to.",
19+
"type": "string"
20+
},
21+
"loader": {
22+
"description": "The loader that ExtractTextPlugin will attempt to load through.",
23+
"type": "string"
24+
},
25+
"publicPath": {
26+
"description": "",
27+
"type": "string"
7028
}
7129
},
72-
"required": [
73-
"loader",
74-
"filename"
75-
]
30+
"required": ["loader"]
7631
}

schema/valid.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2+
"allChunks": { "type": "boolean"},
3+
"disable": { "type": "boolean" },
24
"fallbackLoader": { "type": "string" },
5+
"filename": { "type": "string" },
36
"loader": { "type": "string" },
4-
"publicPath": { "type": "string" },
5-
"disable": { "type": "boolean" },
6-
"allChunks": { "type": "boolean"},
7-
"filename": { "type": "string" }
7+
"publicPath": { "type": "string" }
88
}

0 commit comments

Comments
 (0)