esbuild-x - esbuild with pre/post build hooks

JSON →
library 0.4.2 ·javascript
verified Jun 4, 2026

esbuild-x is a thin wrapper around esbuild (currently v0.4.2) that adds support for configuration files (esbuild.config.js) and custom pre-build / post-build function hooks. It ships with built-in post-build helpers including file copy with glob patterns, HTML injection of esbuild outputs, and CSS/HTML minification plugins. Unlike bare esbuild, it allows developers to run arbitrary tasks (like cleanup, asset copying, or bundle analysis) before and after the main build without wiring separate tools. The release cadence is low/irregular; it's a small utility rather than a major framework.