gulp-file-url-update

1.0.1 • Public • Published

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]

Readme

Keywords

Package Sidebar

Install

npm i gulp-file-url-update

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

27.4 kB

Total Files

9

Last publish

Collaborators

  • worldnebula