Revert to minify v2.6.1

Closes #6791
This commit is contained in:
Bjørn Erik Pedersen 2020-01-23 17:03:23 +01:00
parent fb974ae87f
commit 7ed22e9fb6
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
2 changed files with 3 additions and 3 deletions

2
go.mod
View file

@ -51,7 +51,7 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 github.com/spf13/jwalterweatherman v1.1.0
github.com/spf13/pflag v1.0.5 github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.6.1 github.com/spf13/viper v1.6.1
github.com/tdewolff/minify/v2 v2.7.2 github.com/tdewolff/minify/v2 v2.6.1
github.com/yuin/goldmark v1.1.21 github.com/yuin/goldmark v1.1.21
github.com/yuin/goldmark-highlighting v0.0.0-20191202084645-78f32c8dd6d5 github.com/yuin/goldmark-highlighting v0.0.0-20191202084645-78f32c8dd6d5
go.opencensus.io v0.22.0 // indirect go.opencensus.io v0.22.0 // indirect

View file

@ -72,7 +72,7 @@ func New(mediaTypes media.Types, outputFormats output.Formats) Client {
} }
cssMin := &css.Minifier{ cssMin := &css.Minifier{
Precision: 0, Decimals: -1,
KeepCSS2: true, KeepCSS2: true,
} }