{{ $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "sass/main.scss" | toCSS $options | minify }}
{{- with $style }}
{{- if eq hugo.Environment "development" }}
{{- else }}
{{- with . | minify | fingerprint }}
{{- end }}
{{- end }}
{{- end }}