Remove resources.Minify because "compressed" option is used

This commit is contained in:
Djordje Atlialp 2020-05-15 09:52:16 +02:00
parent 90b68f7d29
commit 886be61c75
No known key found for this signature in database
GPG key ID: 50C5BBECF350BB74

View file

@ -23,7 +23,7 @@
type="text/css"> type="text/css">
{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }} {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }} {{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}"> <link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ range $val := $.Site.Params.customCSS }} {{ range $val := $.Site.Params.customCSS }}