rules_sass icon indicating copy to clipboard operation
rules_sass copied to clipboard

feat: Add support for webpack style import from node_modules.

Open lukasholzer opened this issue 3 years ago • 1 comments

To enable the support I had to switch to the JavaScript API https://sass-lang.com/documentation/js-api#rendersync as it is already orchestrated via javascript. This enables the possibility of specifying importers that can resolve custom import paths.

Fixes #98

lukasholzer avatar Oct 12 '20 15:10 lukasholzer

Sorry for the formatting changes but my buildifier formatted it. 😬

@jelbourn any opinions on how to add node_modules with a scss dependency only for the examples or tests to showcase the webpack flavour import:

@import '~@angular/cdk/overlay';

lukasholzer avatar Oct 12 '20 15:10 lukasholzer