Skip to content

litek/gulp-hashmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create a JSON map of file hashes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published