var minify = require('html-minifier');
var fs = require('fs');

var html = fs.readFileSync('build/frontend.vulcan.html').toString();

var minifiedHtml = minify.minify(html, {
    customAttrAssign: [/\$=/],
    "removeComments": true,
    "removeCommentsFromCDATA": true,
    "removeCDATASectionsFromCDATA": true,
    "collapseWhitespace": true,
    "collapseBooleanAttributes": true,
    "removeScriptTypeAttributes": true,
    "removeStyleLinkTypeAttributes": true,
    "minifyJS": true,
});

fs.writeFileSync('build/frontend.html', minifiedHtml);

var minify = require('html-minifier');
var fs = require('fs');

var html = fs.readFileSync('build/frontend.vulcan.html').toString();

var minifiedHtml = minify.minify(html, {
    customAttrAssign: [/\$=/],
    "removeComments": true,
    "removeCommentsFromCDATA": true,
    "removeCDATASectionsFromCDATA": true,
    "collapseWhitespace": true,
    "removeScriptTypeAttributes": true,
    "removeStyleLinkTypeAttributes": true,
    "minifyJS": true,
});

fs.writeFileSync('build/frontend.html', minifiedHtml);

Disable a minifier option that broke stuff
Disable a minifier option that broke stuff
