express-compile-sass icon indicating copy to clipboard operation
express-compile-sass copied to clipboard

Importing SCSS files from node_modules

Open OmerFlame opened this issue 6 years ago • 1 comments

I want to compile SCSS files that also have @import statements in them, and they lead to node modules that I installed, that also include SCSS files (a UI Framework). When I try to run the code, it tells me it failed to find my import, when I know it's there. Another thing, is that the framework imports some of its own components, and thus the compiler fails, EVEN IF I write the entire path to node_modules. HELP ME ASAP PLEASE

OmerFlame avatar Nov 06 '18 11:11 OmerFlame

In relation to this issue. Is there a way how to pass options onto node-sass? In that case following package would be the solution.

https://github.com/maoberlehner/node-sass-magic-importer/tree/master/packages/node-sass-package-importer.

creaux avatar Feb 09 '19 13:02 creaux