esbuild-plugin-es5
JSON →An esbuild plugin that uses @swc/core to transform JavaScript/TypeScript to ES5, enabling compatibility with older browsers and devices. Version 2.1.1 supports tree shaking, code sharing (async generators), source maps, custom swc options, and custom filter. It is a peer dependency of esbuild and requires @swc/helpers at runtime. Compared to alternatives like Babel-based plugins, it leverages the faster SWC transform, though it adds ~130ms overhead (e.g., three.js build from 50ms to 180ms). The plugin is actively maintained with TypeScript types included. Use in production builds only, as development can use esbuild's native targets for speed.
Traffic · last 30 days ↑50% vs prev 7d
total hits 8
actors 3 distinct systems
last hit 21h ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇪🇸 Spain · 🇮🇳 India
Resources
API endpoints
full doc /v1/registry/esbuild-plugin-es5