F
F
fantazerno2016-03-18 12:44:59
Node.js
fantazerno, 2016-03-18 12:44:59

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 question

Ask a Question

731 491 924 answers to any question