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 stale · no recent hits
total hits 15
actors 5 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/esbuild-plugin-es5
compatibility /v1/registry/esbuild-plugin-es5/compatibility