gulp-in-css
v0.0.2
Published
A css modular management and loader. Made for gulp.
Downloads
1
Readme
gulp-in-css
A css modular management and loader. Made for gulp. in-css.
how to use
1. install
npm install --save gulp-in-css
2. use
var inCss = require("gulp-in-css");
inCss(entryModules,options)
Example:
gulp.task("default", function () {
return inCss(['test/index'],{
baseUrl : './test/fixtures/',
configFile: './test/in-css-config.js'
})
.pipe(csso())
.pipe(gulp.dest("./test/tmp"));
});
3. options
- baseUrl: base url of all css resources
- paths: module path declaration
- deps: modules dependencies
- configFile: in-css config file path