esbuild-plugin-transform-hook

JSON →
library 0.2.3 ·javascript
verified May 1, 2026

Esbuild plugin (v0.2.3, 2024) that allows applying custom transformation hooks to build outputs or dependencies, not just sources. Solves gaps in esbuild's native support for polyfill injection, dynamic banners, and importable helpers. Compared to alternatives (e.g., onEnd hooks or manual post-processing), it provides a declarative hook-based API with pattern matching and rename support. Requires esbuild >=0.19.0. Ships TypeScript types. Note: still in PoC status; API may change.

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

top countries 🇨🇦 Canada · 🇺🇸 United States · PT · 🇪🇸 Spain