Rename file with hash, replace of "gulp-hash".
npm install gulp-hash-name --save-dev
var hashName = require('gulp-hash-name')
gulp.src('*.js')
.pipe(hashName({
hashLength: 8,
template: '{name}_{has}{ext}'
}))
.pipe(gulp.dest('./dist'))
MIT