1.1.1 • Published 10 years ago

gulp-cacheable v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

gulp-cacheable

A gulp plugin for caching gulp streams using vinyl-sources.

NPM Version Build Status Coveralls Status Dependency Status

Installation

npm install gulp-cacheable

Usage

var gulp = require('gulp');
var plugin1 = require('gulp-plugin1');
var plugin2 = require('gulp-plugin2');
var cacheable = require('gulp-cacheable');

gulp.task('javascript', function() {
  gulp.src('src/**/*.js')
    .pipe(cacheable.start({ cacheProvider: new cacheable.DiskCacheProvider('.buildcache') }))
      .pipe(plugin1())
      .pipe(plugin2())
    .pipe(cacheable.stop())
    .pipe(gulp.dest('dist'));
});

Plugins between cacheable.start(..) and cacheable.stop() can implement vinyl-sources to supply details about which source files made up the transformed result.

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.3.0

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago