Skip to content

Commit

Permalink
chore(components): provide scrollbar SCSS module entry point for In…
Browse files Browse the repository at this point in the history
…telliJ to resolve the module

The package.json standard allows specifying conditional exports, not only for JavaScript files, but also for SASS files.
They are supported by the Angular compiler, but not yet by all IDEs. Therefore, we additionally provide this entry point.
See https://nodejs.org/api/packages.html#conditional-exports for more information about conditional SASS exports.
  • Loading branch information
Marcarrian authored and danielwiehl committed Nov 21, 2023
1 parent f6e1649 commit b76823f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/scion/components/_scrollbar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* The package.json standard allows specifying conditional exports, not only for JavaScript files, but also for SASS files.
* They are supported by the Angular compiler, but not yet by all IDEs. Therefore, we additionally provide this entry point.
* See https://nodejs.org/api/packages.html#conditional-exports for more information about conditional SASS exports.
*
*/
@forward './viewport/scrollbar';

0 comments on commit b76823f

Please sign in to comment.