mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Update html-minifier's options.
[ci skip]
This commit is contained in:
+16
-2
@@ -316,13 +316,27 @@ module.exports = function (grunt) {
|
|||||||
htmlmin: {
|
htmlmin: {
|
||||||
dist: {
|
dist: {
|
||||||
options: {
|
options: {
|
||||||
|
collapseBooleanAttributes: true,
|
||||||
collapseWhitespace: true,
|
collapseWhitespace: true,
|
||||||
conservativeCollapse: true,
|
conservativeCollapse: true,
|
||||||
minifyCSS: true,
|
decodeEntities: false,
|
||||||
|
minifyCSS: {
|
||||||
|
compatibility: "ie8",
|
||||||
|
keepSpecialComments: 0
|
||||||
|
},
|
||||||
minifyJS: true,
|
minifyJS: true,
|
||||||
|
minifyURLs: false,
|
||||||
processConditionalComments: true,
|
processConditionalComments: true,
|
||||||
removeAttributeQuotes: true,
|
removeAttributeQuotes: true,
|
||||||
removeComments: true
|
removeComments: true,
|
||||||
|
removeOptionalAttributes: true,
|
||||||
|
removeOptionalTags: true,
|
||||||
|
removeRedundantAttributes: true,
|
||||||
|
removeScriptTypeAttributes: true,
|
||||||
|
removeStyleLinkTypeAttributes: true,
|
||||||
|
removeTagWhitespace: false,
|
||||||
|
sortAttributes: true,
|
||||||
|
sortClassName: true
|
||||||
},
|
},
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: '_gh_pages',
|
cwd: '_gh_pages',
|
||||||
|
|||||||
Reference in New Issue
Block a user