-
Notifications
You must be signed in to change notification settings - Fork 68
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
Feature: make the SCSS file importable without an improper path #244
Comments
both work fine for me. |
Okay, the weird thing is that For angular-notifier, however, only Does anyone have an explanation for this difference? |
So, you are using angular 14? Is it a newly generated project? Or generated in a previous version of angular and then updated? |
My current project was started in an older angular version, but now I tried it with a whole new configuration. I created a new Angular 14 project using
When running
Adding tildes or |
I want to import the SCSS file into my own SCSS file. This is only possible using the dirty path (including
../node_modules
) as@use '../../node_modules/angular-notifier/styles.scss'
and not using the short-hand version@use 'angular-notifier/styles'
, which is the way I can import styling files of other packages.I believe the problem here is that the styling file is called
styles.scss
, but there is a folder namedstyles
as well. This dirty import could be circumvented if either of the two would be renamed. I would suggest renaming the styles file todefault.scss
for example.This would of course be a breaking change.
The text was updated successfully, but these errors were encountered: