Created
September 21, 2021 09:23
-
-
Save themounthead/eaac863947b6f22431cc0a086c82f11d to your computer and use it in GitHub Desktop.
Use importer lib to compile sass file (with nested imports) into css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node-sass --importer node_modules/node-sass-package-importer/dist/cli.js source/app.sass dest/app.css | |
| eg. node-sass src/app/config/theme/theme.scss sample.css --importer=node_modules/node-sass-package-importer/dist/cli.js | |
| Install the node-sass-package-importer | |
| https://stackoverflow.com/questions/48380971/compile-sass-and-import-from-node-modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment