Skip to content
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

Importing SCSS files from node_modules #294

Open
OmerFlame opened this issue Nov 6, 2018 · 1 comment
Open

Importing SCSS files from node_modules #294

OmerFlame opened this issue Nov 6, 2018 · 1 comment

Comments

@OmerFlame
Copy link

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

@creaux
Copy link

creaux commented Feb 9, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants