Skip to content

Commit

Permalink
Addressing HTML minifier feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Jun 12, 2014
1 parent ab091b1 commit e6743ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
var rimraf = require('rimraf');
var browserSync = require('browser-sync');
var minifyHTML = require('gulp-minify-html');
var pagespeed = require('psi');
var reload = browserSync.reload;

Expand Down Expand Up @@ -54,7 +53,7 @@ gulp.task('html', ['styles'], function () {
.pipe($.if('*.css', $.uncss({ html: ['app/index.html'] })))
.pipe($.useref.restore())
.pipe($.useref())
.pipe(minifyHTML({comments:true,spare:true}))
.pipe($.minifyHtml())
.pipe(gulp.dest('dist'))
.pipe($.size({title: 'html'}));
});
Expand Down

0 comments on commit e6743ad

Please sign in to comment.