Skip to content
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

@use not working in scss #67

Closed
RacerDelux opened this issue Feb 24, 2021 · 2 comments
Closed

@use not working in scss #67

RacerDelux opened this issue Feb 24, 2021 · 2 comments

Comments

@RacerDelux
Copy link

Pretty straight forward issue. I have a global.scss that at the very top has this code:
@use "~material-components-web/material-components-web";
If I run it like that, it fails with this message:
image
If I use import instead like:
@import "~material-components-web/material-components-web.scss";
It fails with the following message:
image
Note at this point it is failing to include the dependency chain within material's codebase. This is outside of my code.

@andreyvolokitin
Copy link
Contributor

I guess migration to dart-sass is required, AFAIK node-sass doesn't support @use (as well as being deprecated)

@yibn2008
Copy link
Owner

already fixed in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants