Fix/use dartsass instead of libsass #17
@@ -1,4 +1,7 @@
|
|||||||
{{ $sass := resources.Get "scss/style.scss" }}
|
{{ $sass := resources.Get "scss/style.scss" }}
|
||||||
{{ $opts := dict "transpiler" "dartsass" }}
|
{{ $opts := dict
|
||||||
|
"transpiler" "dartsass"
|
||||||
|
"silenceDeprecations" (slice "import")
|
||||||
|
}}
|
||||||
{{ $style := $sass | toCSS $opts | minify | resources.Fingerprint "sha256" }}
|
{{ $style := $sass | toCSS $opts | minify | resources.Fingerprint "sha256" }}
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||||
Reference in New Issue
Block a user