Closed usercx closed 6 years ago
Well, I am sorry... I find the solution for this, by using gulp-rev-replace
return gulp.src("src/index.html") .pipe($.useref()) .pipe($.if("**/*.{js,css}", $.rev())) .pipe($.revReplace()) .pipe(gulp.dest("dist/"));
Sincerely sorry for this....
here is my gulpfile: ` gulp.task("build", ["inject"], function(
)) ` but in "dist/index.html" the scripts and link are without version. gulp-useref is v3.1.3