reptar-html-minifier
v2.0.0
Published
reptar plugin for html minifier
Downloads
25
Readme
reptar-html-minifier
A Reptar plugin for html-minifier.
Installation
Add to your reptar.config.js
file.
const reptarHtmlMinifier = require('reptar-html-minifier');
module.exports = {
lifecycle: {
didBuild: reptarHtmlMinifier({
collapseBooleanAttributes: true,
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
removeEmptyAttributes: true,
removeRedundantAttributes: true
}),
},
};