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

Failing to import #829

Open
mackelito opened this issue Mar 2, 2023 · 1 comment
Open

Failing to import #829

mackelito opened this issue Mar 2, 2023 · 1 comment

Comments

@mackelito
Copy link

mackelito commented Mar 2, 2023

We are updating to angular 15 and once update is done we run into problem.

SassError: Can't find stylesheet to import.
48 @import '~@sebgroup/fonts/scss/seb-fonts'; // SEB Specific

In the file boostrap-loader.scss you have @import '~@sebgroup/fonts/scss/seb-fonts';
Removing the ~ solves the issue. (but this is not a proper solution)

@mackelito
Copy link
Author

Just a small note: Later versions of Angular does not support this way of importing (or rather sass-loader has deprecated this way of importing)

Warning: '/apps/site/src/styles.scss' imports '~@sebgroup/bootstrap/scss/core' with a tilde. Usage of '~' in imports is deprecated.

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

1 participant