Skip to content

Commit 6a52f85

Browse files
feat(index): add options validation (schema-utils)
1 parent 005cb81 commit 6a52f85

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/options.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"type": "object",
33
"properties": {
4-
"root": {
5-
"type": "string"
4+
"url": {
5+
"type": "boolean"
66
},
7-
"attrs": {
8-
"type": ["string", "array"]
7+
"import": {
8+
"type": "boolean"
99
},
10-
"minimize": {
11-
"type": ["boolean", "object"]
10+
"template": {
11+
"type": [ "boolean", "string" ]
1212
},
13-
"interpolate": {
14-
"type": ["boolean", "string"]
13+
"minimize": {
14+
"type": [ "boolean", "object" ]
1515
}
1616
},
1717
"additionalProperties": false

0 commit comments

Comments
 (0)