use postcss via hugo pipes instead of cli

This commit is contained in:
2020-01-09 09:20:56 -05:00
parent 020d9d383f
commit 5b44ee101f
7 changed files with 63 additions and 27 deletions
+2
View File
@@ -0,0 +1,2 @@
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS (dict "targetPath" "style.css") | resources.PostCSS (dict "config" "postcss.config.js") }}
<link rel="stylesheet" href="{{ $style.Permalink }}">