gulp-rev-replace icon indicating copy to clipboard operation
gulp-rev-replace copied to clipboard

Rewrite occurences of filenames which have been renamed by gulp-rev

Results 39 gulp-rev-replace issues
Sort by recently updated
recently updated
newest added

the rev-manifest.json file: ![image](https://user-images.githubusercontent.com/1535874/31849209-6cf24cb6-b671-11e7-8ef6-a84fd727531e.png) the generating file, replacement not work: ![image](https://user-images.githubusercontent.com/1535874/31849189-f8ff6a82-b670-11e7-96c5-c788e7b9d0f3.png)

Hi, `options.replaceInExtensions Type: Array Default: ['.js', '.css', '.html', '.hbs']` For this, would this option support `.json` and `.xml`? I add it to my `gulp-rev` code, every types list on the...

Now rev-replace can't replace URI-encoded file name including non-ascii characters such that: %e6%97%a5%e6%9c%ac%e8%aa%9e.jpg

gulp-rev-replace doesn't seem to be accepting .json files, even when adding 'json' to the replaceInExtensions options. This is to support versioning of pwa manifest.json files. Paths check out (via console)...

Hi all. As you've probably noticed, I'm not taking as much care of this project as I could be. I don't use this project in any of my own builds...

help wanted

gulp task: `gulp.task('rev-update-references', function(){ const manifest = gulp.src(getBuildRoot() + '/' + config.tasks.production.manifest) return gulp.src(path.join(getBuildRoot() + '/**/**.{css,js,json}')) .pipe(revReplace({manifest: manifest})) .pipe(gulp.dest(getBuildRoot())) })` scss: `@font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight:...

``` // Rewrite references to file names which have been renamed by gulp-rev-all gulp.task('fingerprintReplace', ['fingerprintGenerate'], () => { if (config.production) { // We only need file name without directories const...

Now rev-replace can't replace URI-encoded file name including non-ascii characters such that: %e6%97%a5%e6%9c%ac%e8%aa%9e.jpg

I think that should provide file information to modifyUnreved and modifyReved method. https://github.com/jamesknelson/gulp-rev-replace/blob/master/index.js#L82 if the css image use the relative path, may have the same url string, so provide the...

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...