Skip to content

FossiFoo/gulp-hashdest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-hashdest

hashdest plugin for gulp

Usage

First, install gulp-hashdest as a development dependency:

npm install --save-dev gulp-hashdest

Then, add it to your gulpfile.js:

var hashdest = require("gulp-hashdest");

gulp.src("./src/*.js")
	.pipe(hashdest({
		"prefix": "foo-"
	}))
	.pipe(gulp.dest("./dist"));

API

hashdest(options)

options.prefix

Type: String Default: ``

Prefix for inserted path.

options.hash

Type: String Default: sha1

Type of hash. All values allowed for crypto are valid.

License

MIT License

About

gulp plugin that prefixes filepaths with the hash of their combined content for deployment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors