A CommonJS-compatible Babel plugin for esbuild. Current stable version 1.0.0. This plugin allows you to apply Babel transformations within esbuild bundles when esbuild's native transform capabilities are insufficient. Unlike alternatives (e.g., esbuild-plugin-babel or @aspect-build/esbuild), this package explicitly targets CommonJS environments and provides a simple, minimal API. It requires @babel/core as a peer dependency and delegates Babel configuration to babel.config.json or inline config. Suitable for legacy projects or those locked into CJS.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package uses CommonJS default export; require directly returns the plugin function.
Default import works because the module has a default export that resolves to the plugin function.
Type imports are available for config interface. Named type import is correct.
Minimal esbuild config that applies Babel transformations via the plugin. Ensure @babel/core is installed and Babel configuration is set separately.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.