-
-
Notifications
You must be signed in to change notification settings - Fork 66
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 with builtin modules #148
Comments
I ran the some tests and got the following output in
I used the following snippet just before line 41 for debugging: I got the following input:
The value in Regards. |
Just ran another test, and I found out that due to the compilation issue, the @use with a builtin module only work if the value is single-quoted. |
@Geekimo I'm open to a PR. |
I just shipped 2.2.4 which has a minor update. @amannn @shokmaster @Tomburgs Any chance that you can check this issue out? I won't have time to work on a PR for a while. I'm happy to fast-track a review and ship if you guys have a PR. And please let me know if just using single rather than double quotes is enough and that we should close this issue. |
I've released new version of |
I believe this issue was already fixed in #147, did we just forget to push it to npm @justin808? |
Should be fixed in 2.2.4. Thanks @Tomburgs! |
Does not seem to work if using |
Hello !
I just went through an issue with @use trying to load a builtin module, which starts with "sass:".
I got the following error:
Looks like the sass-resources-loader tries to locally import this module.
I'm currently using 2.2.3 through @nuxtjs/resources-loader package and hoistUseStatements is set to true.
The text was updated successfully, but these errors were encountered: