html-minifier-es6
v3.5.9
Published
Support dirty ES6 minifying.
Downloads
1
Maintainers
Readme
Html-Minifier for ES6 (incl. TS definitions)
This is a fork that adds a quick & dumb uglifying support for ES6
Actual repo
https://github.com/kangax/html-minifier
How to use
Install using the following command
npm install html-minifier-es6
Enable it using "es6" in minifyJS
options like the following example
minify(html, {
removeComments: true,
minifyJS: "es6", // <------
collapseWhitespace: true
});