astro-minify-html
JSON →An Astro integration that minifies static HTML output using html-minifier-terser at build time. Current stable version is 0.1.1, released as an early-stage package with no breaking changes reported. It provides a simple integration function that wraps html-minifier-terser options, allowing removal of comments, whitespace, and other optimizations. Unlike raw usage of html-minifier-terser, this integration automatically hooks into Astro's build pipeline and applies minification to all generated HTML pages with zero configuration required.
Resources
packageastro-minify-html ↗
API endpoints
full doc /v1/registry/astro-minify-html