Adjust "you need the extended version" error message

This commit is contained in:
Bjørn Erik Pedersen 2022-12-23 10:33:49 +01:00
parent 10bb29d7f3
commit 180dfeba03
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -443,7 +443,7 @@ func (r *resourceAdapter) transform(publish, setContent bool) error {
// Most likely because PostCSS is not installed.
errMsg = ". Check your PostCSS installation; install with \"npm install postcss-cli\". See https://gohugo.io/hugo-pipes/postcss/"
} else if tr.Key().Name == "tocss" {
errMsg = ". Check your Hugo installation; you need the extended version to build SCSS/SASS."
errMsg = ". Check your Hugo installation; you need the extended version to build SCSS/SASS with transpiler set to 'libsass'."
} else if tr.Key().Name == "tocss-dart" {
errMsg = ". You need dart-sass-embedded in your system $PATH."