Skip to content

Commit

Permalink
fix: add terser value to minify option in schema.json (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt authored Sep 17, 2024
1 parent 4c8cd7f commit 34951bf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,16 @@
]
},
"minify": {
"type": "boolean",
"description": "When enabled, the generated code will be minified instead of pretty-printed."
"description": "When enabled, the generated code will be minified instead of pretty-printed.",
"oneOf": [
{
"type": "boolean"
},
{
"type": "string",
"enum": ["terser"]
}
]
},
"minifyWhitespace": {
"type": "boolean"
Expand Down

0 comments on commit 34951bf

Please sign in to comment.