Skip to content

Feature: make the SCSS file importable without an improper path #244

@tijsmoree

Description

@tijsmoree

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 named styles as well. This dirty import could be circumvented if either of the two would be renamed. I would suggest renaming the styles file to default.scss for example.

This would of course be a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIndicates that this issue / PR needs to be discussed in detail before further steps can be takenneeds reproIndicates that this issue needs a reproduction before further steps can be taken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions