File tree 1 file changed +7
-11
lines changed
1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -273,14 +273,10 @@ module.exports = function (grunt) {
273
273
htmlmin: {
274
274
dist : {
275
275
options : {
276
- // Optional configurations that you can uncomment to use
277
- // removeCommentsFromCDATA: true,
278
- // collapseBooleanAttributes: true,
279
- // removeAttributeQuotes: true,
280
- // removeRedundantAttributes: true,
281
- // useShortDoctype: true,
282
- // removeEmptyAttributes: true,
283
- // removeOptionalTags: true*/
276
+ collapseWhitespace : true ,
277
+ collapseBooleanAttributes : true ,
278
+ removeCommentsFromCDATA : true ,
279
+ removeOptionalTags : true
284
280
} ,
285
281
files : [ {
286
282
expand : true ,
@@ -358,8 +354,7 @@ module.exports = function (grunt) {
358
354
'compass:dist',< % } else { % >
359
355
'copy:styles' , < % } %>
360
356
'imagemin ',
361
- 'svgmin ',
362
- 'htmlmin '
357
+ 'svgmin '
363
358
]
364
359
} ,
365
360
@@ -440,7 +435,8 @@ module.exports = function (grunt) {
440
435
'cssmin',
441
436
'uglify',
442
437
'rev',
443
- 'usemin'
438
+ 'usemin',
439
+ 'htmlmin'
444
440
]);
445
441
446
442
grunt.registerTask('default', [
You can’t perform that action at this time.
0 commit comments