Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jelmerdemaat/importer-overrides
Custom Sass importer for use with Gulp.
https://github.com/jelmerdemaat/importer-overrides
Last synced: 4 days ago
JSON representation
Custom Sass importer for use with Gulp.
- Host: GitHub
- URL: https://github.com/jelmerdemaat/importer-overrides
- Owner: jelmerdemaat
- License: mit
- Created: 2016-02-18T10:28:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T16:33:21.000Z (over 8 years ago)
- Last Synced: 2024-11-03T19:51:29.164Z (14 days ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A custom [Sass importer](https://github.com/sass/node-sass#importer--v200---experimental)
that lets you swap import files for overrides if they are available.For use with Gulp ([for now](#todo)) because of `gutil.log`.
[GitHub](https://github.com/jelmerdemaat/importer-overrides) | [NPM](https://www.npmjs.com/package/importer-overrides) | [@jelmerdemaat](https://twitter.com/jelmerdemaat)
[![Build Status](https://travis-ci.org/jelmerdemaat/importer-overrides.svg?branch=master)](https://travis-ci.org/jelmerdemaat/importer-overrides)
[![bitHound Code](https://www.bithound.io/github/jelmerdemaat/importer-overrides/badges/code.svg)](https://www.bithound.io/github/jelmerdemaat/importer-overrides)
[![bitHound Dependencies](https://www.bithound.io/github/jelmerdemaat/importer-overrides/badges/dependencies.svg)](https://www.bithound.io/github/jelmerdemaat/importer-overrides/master/dependencies/npm)## Use
Basic setup:
```js
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