Created
April 5, 2016 05:55
-
-
Save hail2u/80e541267624fff7ed91d2cdf3390082 to your computer and use it in GitHub Desktop.
HTML Minifierのオプション
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var optionsHTMLMinifier = { | |
collapseBooleanAttributes: true, | |
collapseInlineTagWhitespace: true, | |
collapseWhitespace: true, | |
minifyCSS: true, | |
minifyJS: true, | |
removeAttributeQuotes: true, | |
removeComments: true, | |
removeEmptyElements: true, | |
removeOptionalTags: true, | |
removeRedundantAttributes: true, | |
removeScriptTypeAttributes: true, | |
removeStyleLinkTypeAttributes: true, | |
sortAttributes: true, | |
sortClassName: true, | |
useShortDoctype: true | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment