Skip to content

Commit

Permalink
Revert to minify v2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jan 23, 2020
1 parent fb974ae commit 7ed22e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ require (
github.com/spf13/jwalterweatherman v1.1.0
github.com/spf13/pflag v1.0.5
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-highlighting v0.0.0-20191202084645-78f32c8dd6d5
go.opencensus.io v0.22.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions minifiers/minifiers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7ed22e9

Please sign in to comment.