-
Notifications
You must be signed in to change notification settings - Fork 6
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
SASS error since 3.12.1 #13
Comments
Hey Carlos thanks for getting in touch. I confess that I'm not super familiar with this area of SASS syntax and have been meaning to look into it properly since the PR for this landed. My best guess is maybe the version of SASS you are using doesn't support this import syntax, but maybe @manuelmeister may have an idea? |
@carloscarnero The sass version would be my guess as well. In the error message, it can't handle the namespacing. Your version of the sass-implementation may not support this. What version does your |
Currently I'm set with |
If you notice the opening comment, you'll see that I had
and following @manuelmeister's suggestion about
and that builds! Now, I just have to see why
still gives the error. EDIT: I got excited too soon. While the build succeeds, it will not process the font sources and it actually puts |
Strange. You used the I'm sorry for the inconvenience! |
I have created the simplest case that closely matches what I have in production, except that only Inter is integrated. I have found that using |
Oh! Apparently LibSass EDIT: FYI, I successfully migrated my production workflow to Dart (with the added convenience that one of the upstream projects that I use, Video.js, also migrated to Dart a while ago.) |
Thanks for helping out here @manuelmeister. I could look into different import mechanisms if there is need, but it sounds like migration away from node-sass is a broadly good path. |
Nice! |
Update: have added a note to the |
I'm using Webpack to process and use Inter and a bunch of other resources. Up to 3.12.0, I had a
.scss
file with justwhich worked as expected. Starting with 3.12.1, I'm getting this error when I run Webpack:
(
<SNIP>/src/scss/inter.scss
is my integration, where I load Inter.) I have seen that this version brought some changes, including the possibility to include specific weights, which is absolutely great. I tried the.scss
with the documented example:and got a similar error:
What am I missing?
The text was updated successfully, but these errors were encountered: