jonschlinkert / gulp-htmlmin

Minify HTML

Home Page:https://github.com/jonschlinkert

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update html-minifier to 4.0.0

oscarmarcelo opened this issue · comments

Among other issues, the current dependency version has an issue with attributes without quotes when the value is a PHP expression, which appends trailing spaces, breaking attributes that expect numbers.

We should actually move to html-minifier-terser https://www.npmjs.com/package/html-minifier-terser

Because as stated here html-minifier uses:

uglify-es is no longer maintained and uglify-js does not support ES6+.

kangax/html-minifier#1040

ping @jonschlinkert
we should move to html-minifier-terser right........?

Then just let this project die? 😢

I still use it... and many other according to npm stats:
https://www.npmjs.com/package/gulp-htmlmin