gulp-rev-replace
gulp-rev-replace copied to clipboard
Does not work with html.erb
This won't work for html.erb?
index.html.erb
had the same issue with another template language. When you reference gulp-rev-replace, pass in an object with a key 'replaceInExtensions' and value of the .erb file suffix, or an array of multiple extensions, e.g.:
.pipe(revReplace({replaceInExtensions: ['.erb', '.html.erb']}))
I had the same issue with another template language e.g. .cshtml file suffix.when file with chinese,the file garbled.I try to use the key 'replaceInExtensions',but it not work.how can i do?
@shotokai would be best to answer this. I personally stopped using gulp in favor of webpack and haven't visited this since my previous job :( sorry @koshitang