seb-oss / bootstrap

A standalone bootstrap theme for SEB
https://sebgroup.github.io/bootstrap/
Apache License 2.0
9 stars 7 forks source link

Failing to import #829

Open mackelito opened 1 year ago

mackelito commented 1 year ago

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 commented 1 year ago

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.