grunt-minify-html

JSON →
library 3.0.0 ·javascript deprecated
verified Jun 4, 2026

Minify HTML files using the minimize library, which uses a proper HTML parser instead of fragile regexes like other minifiers. Version 3.0.0 is the latest stable release, last updated in 2016. It requires Grunt >=0.4.0 and Node >=4. Differentiates from grunt-contrib-htmlmin by using a robust parser for more accurate minification and fewer errors.