aboutsummaryrefslogtreecommitdiffhomepage
path: root/minifiers
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2022-04-08 11:38:37 -0700
committerBjørn Erik Pedersen <[email protected]>2022-04-08 21:44:29 +0200
commit3117e5859509e909298153972ab6f700af577f92 (patch)
treeac725acfbbc0de359bf0c1d009307ae991a930de /minifiers
parent5b5dcb8d5a4669e1768951b452cfd53c6b25825c (diff)
downloadhugo-3117e5859509e909298153972ab6f700af577f92.tar.gz
hugo-3117e5859509e909298153972ab6f700af577f92.zip
deps: Update github.com/tdewolff/minify/v2 v2.10.0 => v2.11.0
Fixes #9713 Fixes #9740 Adds support for minify.tdewolff.svg.keepComments (bool)
Diffstat (limited to 'minifiers')
-rw-r--r--minifiers/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/minifiers/config.go b/minifiers/config.go
index 135e39b86..233f53c27 100644
--- a/minifiers/config.go
+++ b/minifiers/config.go
@@ -44,7 +44,8 @@ var defaultTdewolffConfig = tdewolffConfig{
JS: js.Minifier{},
JSON: json.Minifier{},
SVG: svg.Minifier{
- Precision: 0,
+ KeepComments: false,
+ Precision: 0,
},
XML: xml.Minifier{
KeepWhitespace: false,