Closed antonmaximus closed 8 years ago
Something like this maybe?
gulp.task('html', function () {
return gulp.src('app/*.html')
.pipe(useref())
.pipe(gulpif('*.html', minifyHTML()))
.pipe(gulp.dest('dist'));
});
dank
I understand that I can minify the css and js files. However, how do I minify the HTML file itself via gulp-useref?