gulp-ccr-merge
Merge multiple streams into one interleaved stream. A cascading configurable gulp recipe for gulp-chef.
Install
$ npm install --save-dev gulp-chef gulp-ccr-merge
Recipe
Async Streams (from gulp-cheatsheet p.2)
Ingredients
Type
Stream Processor
Usage
var gulp = require('gulp');
var chef = require('gulp-chef');
var meals = chef({
'async-streams': {
src: 'css/',
dest: 'css/',
merge: {
'.less': {
plugin: 'gulp-less',
src: 'first.less'
},
'.autoprefixer': {
plugin: 'gulp-autoprefixer',
src: 'second.css'
}
}
},
});
gulp.registry(meals);