Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2016-07-14 11:04:26 +0300
committerXhmikosR <xhmikosr@gmail.com>2016-07-14 11:04:26 +0300
commitedbfd7e24db5ff471c05b4291aa5d6f251ee82f8 (patch)
tree12cccacac05fb824d6ee6e29c1b79d0b73aba226 /Gruntfile.js
parent3e3a2661491ba2f3b5f84831f25d59d03a42c940 (diff)
Update html-minifier's options.
[ci skip]
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js18
1 files changed, 16 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 1a597b8893..b4541e17b6 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -316,13 +316,27 @@ module.exports = function (grunt) {
htmlmin: {
dist: {
options: {
+ collapseBooleanAttributes: true,
collapseWhitespace: true,
conservativeCollapse: true,
- minifyCSS: true,
+ decodeEntities: false,
+ minifyCSS: {
+ compatibility: "ie8",
+ keepSpecialComments: 0
+ },
minifyJS: true,
+ minifyURLs: false,
processConditionalComments: 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,
cwd: '_gh_pages',