aboutsummaryrefslogtreecommitdiffhomepage
path: root/minifiers
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2020-01-23 17:03:23 +0100
committerBjørn Erik Pedersen <[email protected]>2020-01-23 17:03:23 +0100
commit7ed22e9fb6a5b74c52ae6054b843b8c64e83f4b6 (patch)
treec6444ee8ab54f79e363b94e3e7c964941fe9e7c2 /minifiers
parentfb974ae87f82dd9aa4c543ecb719ee15bf6a944d (diff)
downloadhugo-7ed22e9fb6a5b74c52ae6054b843b8c64e83f4b6.tar.gz
hugo-7ed22e9fb6a5b74c52ae6054b843b8c64e83f4b6.zip
Revert to minify v2.6.1
Closes #6791
Diffstat (limited to 'minifiers')
-rw-r--r--minifiers/minifiers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go
index 7dc59dada..9533ebb69 100644
--- a/minifiers/minifiers.go
+++ b/minifiers/minifiers.go
@@ -72,8 +72,8 @@ func New(mediaTypes media.Types, outputFormats output.Formats) Client {
}
cssMin := &css.Minifier{
- Precision: 0,
- KeepCSS2: true,
+ Decimals: -1,
+ KeepCSS2: true,
}
// We use the Type definition of the media types defined in the site if found.