-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
bug(scss): import paths have changed #23961
Comments
The tilde imports has been deprecated in the |
I see, thank you! So the Webstorm errors can be ignored, that's good to know. I migrated from 12.2.12 to 13.0.0 using |
Ignoring the error isn't a good solution since code completion fails as well. |
The WebStorm issues will be resolved soon, see https://youtrack.jetbrains.com/issue/WEB-53312?_ga=2.16688127.810438460.1636730288-874848357.1590392228 |
Webstorm started recognizing paths after adding the following to angular.json under build
|
It's marked as resolved in WebStorm. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Is this a regression?
The previous version in which this bug was not present was
v12
Description
In v12, I used the following import in SCSS files
@use "~@angular/material" as mat;
.After migrating to Angular v13, only the following import works
@use "@angular/material" as mat;
.However, Webstorm does not recognize the import.
Reproduction
Steps to reproduce:
@use "~@angular/material" as mat;
Expected Behavior
Old imports work as expected.
Actual Behavior
I had to change the import to
@use "@angular/material" as mat;
, which causes IDE warnings.Environment
The text was updated successfully, but these errors were encountered: