File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,13 +316,27 @@ module.exports = function (grunt) {
316316 htmlmin : {
317317 dist : {
318318 options : {
319+ collapseBooleanAttributes : true ,
319320 collapseWhitespace : true ,
320321 conservativeCollapse : true ,
321- minifyCSS : true ,
322+ decodeEntities : false ,
323+ minifyCSS : {
324+ compatibility : "ie8" ,
325+ keepSpecialComments : 0
326+ } ,
322327 minifyJS : true ,
328+ minifyURLs : false ,
323329 processConditionalComments : true ,
324330 removeAttributeQuotes : true ,
325- removeComments : true
331+ removeComments : true ,
332+ removeOptionalAttributes : true ,
333+ removeOptionalTags : true ,
334+ removeRedundantAttributes : true ,
335+ removeScriptTypeAttributes : true ,
336+ removeStyleLinkTypeAttributes : true ,
337+ removeTagWhitespace : false ,
338+ sortAttributes : true ,
339+ sortClassName : true
326340 } ,
327341 expand : true ,
328342 cwd : '_gh_pages' ,
You can’t perform that action at this time.
0 commit comments