gulp-ccr-each
Iterates each values and pass to sub tasks. A cascading configurable gulp recipe for gulp-chef.
Install
$ npm install --save-dev gulp-chef gulp-ccr-each
Recipe
Stream Array (from gulp-cheatsheet p.2)
Ingredients
Type
API
config.values
An array of values to iterate. Injecting each value to sub tasks via their "config
" context. Configuration of sub task can interpolate the value using template of "{{var}}
" syntax. Since the value being passed to sub task via the "config
" context, value must be of type "object
".
Usage
var gulp = ;var chef = ;var consolidate = ;var meals =;gulp;