fix: use css.Sass instead of deprecated resources.ToCSS (#1054)

This commit is contained in:
powerfullz
2024-09-07 18:42:07 +02:00
committed by GitHub
parent bdcab89d86
commit fa760d70cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
{{ $sass := resources.Get "scss/style.scss" }}
{{ $style := $sass | resources.ToCSS | minify | resources.Fingerprint "sha256" }}
{{ $style := $sass | toCSS | minify | resources.Fingerprint "sha256" }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">