Use css.PostCSS instead of deprecated resources.PostCSS

This commit is contained in:
Mark Dumay
2024-09-04 14:35:21 +02:00
parent 782a40e1e8
commit acded37e83

View File

@@ -73,7 +73,7 @@
{{ end }} {{ end }}
{{- if site.Params.style.purge -}} {{- if site.Params.style.purge -}}
{{- $post_options := dict "config" "config" "noMap" hugo.IsProduction -}} {{- $post_options := dict "config" "config" "noMap" hugo.IsProduction -}}
{{- $css = $css | resources.PostCSS $post_options -}} {{- $css = $css | css.PostCSS $post_options -}}
{{- end -}} {{- end -}}
{{- if not hugo.IsProduction -}} {{- if not hugo.IsProduction -}}