-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Invalid CSS when importing another SASS file #150
Comments
There's an error in node-sass when importing sass files: |
tracked here: #120 |
As @sebakerckhof said this should be merged into issue #120 |
I had this issue recently. I fixed it by changing everything to scss. In your webpack config you can change you sass loader to scss. Its as simple as that, no need to install other packages etc. So it would be this:
Now my variables are available globally throughout my app. |
Hi,
When I add some styling to a _partial.sass file in the SASS syntax and @import that to my main.sass file, I get the following error:
I have a main.sass file with the following in it:
Inside my _mixins.sass file (same directory) I have the following:
This gives rise to the error above but oddly enough if I delete the body styling and put it back into main.sass it works.
Further useful info
The text was updated successfully, but these errors were encountered: