You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My issue is that after a gulp build task all my images are given new filenames due to a minify task. gulp-rev is also run. However, after that i am unable to replace the filenames with new names that are cited in the rev-manifest file. below is the task that i am try to use to replace the filenames for anything in the dist client folder:
gulp.task("replace", function(){ var manifest = gulp.src(${paths.dist}/${clientPath}/assets/rev-manifest.json`);
var revAll = new RevAll();
My issue is that after a gulp build task all my images are given new filenames due to a minify task. gulp-rev is also run. However, after that i am unable to replace the filenames with new names that are cited in the rev-manifest file. below is the task that i am try to use to replace the filenames for anything in the dist client folder:
gulp.task("replace", function(){ var manifest = gulp.src(
${paths.dist}/${clientPath}/assets/rev-manifest.json`);var revAll = new RevAll();
return gulp.src(
${paths.dist}/${clientPath}
).pipe(revAll.revision())
.pipe(gulp.dest(
${paths.dist}/${clientPath}
));});`
here is the dist folder:
I am not sure how to incorporate revall and what i'm doing wrong. I would really appreciate some direction
The text was updated successfully, but these errors were encountered: