gulp-file-url-update
v1.0.1
Published
md5
Downloads
1
Readme
gulp-file-url-update
md5 plugin for gulp ,md5 the static files(eg javascript style image files) ;then replace the filenames in css or the html if needed by passing the file or dir in the second parameter
Usage
First, install gulp-file-url-update
as a development dependency:
npm install --save-dev gulp-file-url-update
Then, add it to your gulpfile.js
:
var md5 = require("gulp-file-url-update");
gulp.src("./src/*.css")
.pipe(md5('./output/index.html', {size:10}))
.pipe(gulp.dest("./dist"));
License
http://en.wikipedia.org/wiki/MIT_License[MIT License]