HTML Bundle Minifier

JSON →
library 2.7.0 ·javascript
verified Jun 4, 2026

HTML Bundle Minifier is a tool that combines and minifies HTML, CSS, and JavaScript files into a single optimized HTML file. It uses Terser for JS minification and a built-in CSS minifier. Version 2.7.0 is current, with releases approximately twice a year. It supports ESM and CJS, has TypeScript definitions, and is configurable via CLI options or API. Unlike generic bundlers, it targets HTML-first workflows and automatically inlines assets.