-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use on Hugo v0.122.0 via Dart Sass #463
Comments
IIRC, v1.5.12 works fine with libsass shipped in hugo-extended but I didn't try with dart sass, but v2.0.3 completely fails with libsass.
These are all the configs hugo allows me: https://gohugo.io/hugo-pipes/transpile-sass-to-css/ |
Oh, just to be clear: v1.5.12 works with both libsass and dartsass
Just as if the conversion from sass to css had completely failed. |
I have no clue of the inner workings of Hugo or its tech stack nor its deployment. So I can't really help here. But is it a 100% necessary to do the compiling that way? Could you just do |
For now I have reverted to using the pre compiled .min.css variant. I believe all my CSS broke due to the new |
I made a new attempt, apparently libsass doesn't support the So, I would have to figure out how to set correctly the path Hugo uses to resolve the relative imports. So, while the change to using |
Please search for duplicate or closed issues first.
Describe the issue
Unable to compile Hugo website when adding Hugo 2.0.3 as Sass.
Current Behavior
On a Hugo static website, add PicoCss 2.0.3 at /assets/scss/picoss and set the transpiler to Dart Sass and try to serve the website. Like this:
This will fail with the following error message:
Expected Behavior
I would be able to serve the website with no issues.
Reproduction URL
We recommend including a link to a minimal reproduction of the bug using CodePen or a similar tool.
Please do not link to your actual project. Instead, we need a reduced test case in a new project without any unnecessary code.
N/A
Environment
Example: OS, versions, browser details.
OS: Fedora Silverblue 39
Hugo: v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended
Dart Sass: 1.71.0
The text was updated successfully, but these errors were encountered: