aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2020-01-07 18:06:22 +0100
committerBjørn Erik Pedersen <[email protected]>2020-01-07 18:06:22 +0100
commit451380177868e48127a33362aa8d553b90516fb5 (patch)
treedca3d1bc8c77201d2d9a9913ff4de3497e860cc2
parent56354a63bb73271224a9300a4742dc1a2f551202 (diff)
downloadhugo-451380177868e48127a33362aa8d553b90516fb5.tar.gz
hugo-451380177868e48127a33362aa8d553b90516fb5.zip
minifiers: Update to new CSS config
Update #6719
-rw-r--r--minifiers/minifiers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go
index 9533ebb69..7dc59dada 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{
- Decimals: -1,
- KeepCSS2: true,
+ Precision: 0,
+ KeepCSS2: true,
}
// We use the Type definition of the media types defined in the site if found.