sass-glob-importer
Simple importer for node-sass to allow importing Sass files using glob patterns
The files will always be sorted alphabetically when imported.
How-to
install
npm install sass-glob-importer --save-dev
node-sass >= v3.0.0
use the importer with var sass = ;var globImporter = ; sass;
gulp-sass
use the importer withvar gulp = ;var sass = ;var globImporter = ; gulp;
Tests
Use npm test
to run the tests.
Issues
If you discover a bug, please raise an issue on Github. https://github.com/lucasmotta/sass-glob-importer/issues
Contributors
The source code and the test are written in ES6 (ECMAScript 2015).
Babel is being used to compile to ES5 before the package is published to npm.