Skip to content

Commit

Permalink
Collapse whitespace when minifying HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Jan 1, 2016
1 parent e9e6425 commit c576478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ gulp.task('html', ['styles'], () => {
.pipe($.useref({searchPath: ['.tmp', 'app', '.']}))
.pipe($.if('*.js', $.uglify()))
.pipe($.if('*.css', $.cssnano()))
.pipe($.if('*.html', $.htmlmin()))
.pipe($.if('*.html', $.htmlmin({collapseWhitespace: true})))
.pipe(gulp.dest('dist'));
});

Expand Down

0 comments on commit c576478

Please sign in to comment.