From 19d7734d6ce9ce573ec7f8771347dfa026e56950 Mon Sep 17 00:00:00 2001 From: Damien Butt Date: Thu, 7 Sep 2023 23:44:07 +0100 Subject: [PATCH] fix(json-schema): update "minify" property to allow boolean or "terser" --- schema.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/schema.json b/schema.json index 0402482e..b2c2dac0 100644 --- a/schema.json +++ b/schema.json @@ -24,7 +24,6 @@ } } ] - } } }, @@ -99,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"