esbuild-html-plugin

JSON →
library 1.1.0 ·javascript
verified May 1, 2026

An esbuild plugin that generates an HTML file with output URLs of bundled assets. Version 1.1.0, released as stable. It provides fine-grained control over HTML head and body elements through callback functions, allowing dynamic injection of CSS and JS references. Unlike alternative HTML plugins for esbuild, this one is minimalistic and avoids bundling HTML templates, focusing solely on generating a simple HTML file with asset URLs. No HTML minification is included since v1.1.0. The package is ESM-only, small, and has no runtime dependencies.

total hits 7
actors 3 distinct systems
last hit 4d ago AhrefsBot
GPTBot
2
Search engines
1
Humans
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany