gulp-ccr-pipe

Pipe stream generated from first child task to others. A cascading configurable gulp recipe for gulp-chef.

Usage no npm install needed!

<script type="module">
  import gulpCcrPipe from 'https://cdn.skypack.dev/gulp-ccr-pipe';
</script>

README

gulp-ccr-pipe

Pipe stream generated from first child task to others. A cascading configurable gulp recipe for gulp-chef.

Install

$ npm install --save-dev gulp-chef gulp-ccr-pipe

Recipe

Pipe Streams

Ingredients

Type

Stream Processor

Usage

var gulp = require('gulp');
var chef = require('gulp-chef');

var meals = chef({
    'incremental-rebuilding': {
        src: 'js/',
        dest: 'js/',
        pipe: {
            '.cached': {
                plugin: 'gulp-cached',
                src: '*.js'
            },
            '.uglify': {
                plugin: 'gulp-uglify'
            },
            '.remember': {
                plugin: 'gulp-remember'
            },
            '.concat': {
                plugin: 'gulp-concat',
                options: 'app.js',
                spit: true
            }
        }
    }
});

gulp.registry(meals);