importer-overrides
v0.2.6
Published
Custom Sass importer for use with Gulp
Downloads
7
Readme
A custom Sass importer that lets you swap import files for overrides if they are available.
For use with Gulp (for now) because of gutil.log
.
GitHub | NPM | @jelmerdemaat
Use
Basic setup:
var importer = require('importer-overrides');
sass({
importer: importer,
importerOptions: {
debug: true, // or false
client: 'src/client/folder/', // required
base: 'src/base/folder/', // defaults to Gulpfile dir ('./')
optional: 'imports' // filepaths that match string are optional
}
})
Todo
- [ ] Take out the gutil dependency
License
MIT © Jelmer de Maat