Commit d1c51666 authored by XhmikosR's avatar XhmikosR

Add back grunt-contrib-htmlmin.

For the size differences see https://gist.github.com/XhmikosR/b167b9f43f20b761e435
parent c7bdf763
...@@ -333,6 +333,26 @@ module.exports = function (grunt) { ...@@ -333,6 +333,26 @@ module.exports = function (grunt) {
} }
}, },
htmlmin: {
dist: {
options: {
collapseWhitespace: true,
conservativeCollapse: true,
minifyCSS: true,
minifyJS: true,
removeAttributeQuotes: true,
removeComments: true
},
expand: true,
cwd: '_gh_pages',
dest: '_gh_pages',
src: [
'**/*.html',
'!examples/**/*.html'
]
}
},
htmllint: { htmllint: {
options: { options: {
ignore: [ ignore: [
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment