gulp-ccr-queue
v0.1.0
Published
Pipe queued streams progressively. A cascading configurable gulp recipe for gulp-chef.
Downloads
6
Maintainers
Readme
gulp-ccr-queue
Pipe queued streams progressively. A cascading configurable gulp recipe for gulp-chef.
Install
$ npm install --save-dev gulp-chef gulp-ccr-queue
Recipe
Serial Join (from gulp-cheatsheet p.2)
Ingredients
Type
Usage
var gulp = require('gulp');
var chef = require('gulp-chef');
var meals = chef({
'serial-join': {
src: 'css/',
dest: 'css/',
pipe: {
queue: {
'.less': {
plugin: 'gulp-less',
src: 'first.less'
},
pipe: {
src: 'second.css',
'.cssimport': {
plugin: 'gulp-cssimport'
},
'.autoprefixer': {
plugin: 'gulp-autoprefixer',
options: 'last 2 versions'
}
}
},
'.concat': {
plugin: 'gulp-concat',
options: 'app.css'
},
'.minify': {
plugin: 'gulp-minify-css',
spit: true
}
}
}
});
gulp.registry(meals);