shithub: hugo

Download patch

ref: 451380177868e48127a33362aa8d553b90516fb5
parent: 56354a63bb73271224a9300a4742dc1a2f551202
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Tue Jan 7 13:06:22 EST 2020

minifiers: Update to new CSS config

Update #6719

--- a/minifiers/minifiers.go
+++ b/minifiers/minifiers.go
@@ -72,8 +72,8 @@
 	}
 
 	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.