0.0.2 • Published 10 years ago

gulp-hashmap v0.0.2

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

gulp-hashmap

Create a JSON map of file hashes, passing all files through.

Usage

var hash = require("gulp-hashmap"),
    uglify = require("gulp-uglify");

// Uglify scripts, create a hashmap and write all to the dist directory
grunt.task("build", function() {
  grunt.src("scripts/*.js")
    .pipe(uglify())
    .pipe(hash("hashmap.json"))
    .pipe(grunt.dest("dist/"));
});

License

MIT