gulp-hash-history-2
v0.1.6
Published
Gulp plugin which accepts a file, adds a hash, and adds it to a manifest
Downloads
1
Maintainers
Readme
gulp-hash-history
npm install gulp-hash-history
Basic usage
var hashHistory = require('gulp-hash-history');
gulp.src('./js/**/*.js')
.pipe(hashHistory.hash()) // add hash
.pipe(gulp.dest(dest)),
.pipe(hashHistory.history({
src: 'fixtures/history.json', // read and save file to this location
key: 'legacy.js' // js object prefix
}));