jamesknelson / gulp-rev-replace

Rewrite occurences of filenames which have been renamed by gulp-rev
MIT License
389 stars 62 forks source link

Added prefix support #21

Closed aquilax closed 9 years ago

aquilax commented 9 years ago

This PR adds prefix option that allows the user to add custom prefix to every replaced file name e.g. CDN url.

Example usage:

gulp.src('index.html')
  .pipe(revReplace({prefix: 'http://example.com'})
  .pipe(gulp.dest('build'));
VladimirPal commented 9 years ago

It's a very useful feature. When you will merge it?

jamesknelson commented 9 years ago

I don't have time to manually resolve the conflicts with the latest master myself at the moment, but if somebody can do that for me I'll merge it, as it does look like some people would find it useful.

aquilax commented 9 years ago

The branch was merged to the latest master and version was bumped to 0.3.3

/ping @jamesknelson

jamesknelson commented 9 years ago

Thanks aquilax!