8000 fix: add `terser` value to `minify` option in `schema.json` (#991) · egoist/tsup@34951bf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 34951bf

Browse files
authored
fix: add terser value to minify option in schema.json (#991)
1 parent 4c8cd7f commit 34951bf

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

schema.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,16 @@
9898
]
9999
},
100100
"minify": {
101-
"type": "boolean",
102-
"description": "When enabled, the generated code will be minified instead of pretty-printed."
101+
"description": "When enabled, the generated code will be minified instead of pretty-printed.",
102+
"oneOf": [
103+
{
104+
"type": "boolean"
105+
},
106+
{
107+
"type": "string",
108+
"enum": ["terser"]
109+
}
110+
]
103111
},
104112
"minifyWhitespace": {
105113
"type": "boolean"

0 commit comments

Comments
 (0)
0