Skip to content

Commit

Permalink
minifiers: Make sure JS.Version always has a value
Browse files Browse the repository at this point in the history
Fixes #11012
  • Loading branch information
bep committed May 24, 2023
1 parent 9a235d0 commit dd67922
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion minifiers/config.go
Expand Up @@ -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,
Expand Down

0 comments on commit dd67922

Please sign in to comment.