minifiers: Make sure JS.Version always has a value

Fixes #11012
This commit is contained in:
Bjørn Erik Pedersen 2023-05-24 11:35:59 +02:00
parent 9a235d0afc
commit dd67922013

View file

@ -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,