Answer the question
In order to leave comments, you need to log in
How to make cache for USEREF GULP?
How to implement cache for USEREF in GULP via gulp-cached or another plugin
//useref
gulp.task('make', function () {
var assets = useref.assets();
return gulp.src('app/*.html')
.pipe(assets)
.pipe(gulpif('*.js', uglify()))
.pipe(assets.restore())
.pipe(useref())
.pipe(gulp.dest('dist'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question