Closed increpare closed 7 years ago
https://github.com/kangax/html-minifier with options htmlMinified = minify( htmlMinified, { collapseBooleanAttributes:true, collapseInlineTagWhitespace:true, collapseWhitespace:true, decodeEntities:true, minifyCSS:true, minifyJS:true, processConditionalComments:true, removeAttributeQuotes:true, removeComments:true, removeEmptyAttributes:true, removeEmptyElements:true, removeOptionalTags:true, removeRedundantAttributes:true, removeScriptTypeAttributes:true, removeStyleLinkTypeAttributes:true, sortAttributes:true, sortClassName:true, trimCustomFragments:true, useShortDoctype:true })
Nah, not worth making it harder for other people to build puzzlescript - editor.html is just 6kb anyway - this reduces it to 5kb. Whatever!
https://github.com/kangax/html-minifier with options htmlMinified = minify( htmlMinified, { collapseBooleanAttributes:true, collapseInlineTagWhitespace:true, collapseWhitespace:true, decodeEntities:true, minifyCSS:true, minifyJS:true, processConditionalComments:true, removeAttributeQuotes:true, removeComments:true, removeEmptyAttributes:true, removeEmptyElements:true, removeOptionalTags:true, removeRedundantAttributes:true, removeScriptTypeAttributes:true, removeStyleLinkTypeAttributes:true, sortAttributes:true, sortClassName:true, trimCustomFragments:true, useShortDoctype:true })