esbuild-html-link

JSON →
library 1.1.0 ·javascript
verified Jun 4, 2026

Post-processing tool for esbuild that replaces references to source files (like .ts, .tsx) in copied HTML entry files with the corresponding output files (e.g., .js, .css). It uses the esbuild metafile to map source entrypoints to their output bundles. Current version 1.1.0 requires esbuild >=0.24.1 because earlier versions do not mark HTML files as entrypoints in the metafile. It is a lightweight CLI tool (single binary) with no other runtime dependencies, designed to simplify esbuild HTML workflows.