aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--minifiers/config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/minifiers/config.go b/minifiers/config.go
index 437a72e9d..58271362d 100644
--- a/minifiers/config.go
+++ b/minifiers/config.go
@@ -40,7 +40,9 @@ var defaultTdewolffConfig = TdewolffConfig{
Precision: 0,
KeepCSS2: true,
},
- JS: js.Minifier{},
+ JS: js.Minifier{
+ Version: 2022,
+ },
JSON: json.Minifier{},
SVG: svg.Minifier{
KeepComments: false,