jamesknelson / gulp-rev-replace

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

Allow for a custom replace function #75

Open WVmf opened 7 years ago

WVmf commented 7 years ago

Adds a 'replacer' options which can be assigned a custom function that is used to replace unreved references with the reved ones, instead of the default contents.split(unreved).join(reved).

This could also be a potential fix for the problem described in #47.