# HTML
# html.options
html.options: object
HTML compressor/minifier. Reference options (opens new window).
Defaults to:
{
collapseWhitespace: true,
minifyCSS: true,
minifyJS: {
compress: {
drop_console: true
}
},
processConditionalComments: true,
removeComments: true,
removeEmptyAttributes: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true
}
π° For example:
module.exports = {
html: {
options: {
collapseWhitespace: false,
minifyCSS: true,
minifyJS: {
compress: {
drop_console: false
}
}
}
}
// Other Options...
};
β Roots & Paths Stylesheets β