Cloudflare Worker Builder with esbuild
JSON →build-worker is a utility that bundles Cloudflare Workers using esbuild, offering a significantly faster alternative to webpack-based solutions like Wrangler v1. It was developed to fill a gap while Cloudflare's official Wrangler v2 (now Wrangler v3) was not yet fully production-ready, as both leverage esbuild for bundling. The package, currently at version 0.3.4, applies an esbuild configuration similar to that used by Wrangler, streamlining the build process for Workers. A key feature is the automatic replacement of the `IS_CLOUDFLARE_WORKER` global variable with `true` during the build, enabling developers to write environment-specific code. Its release cadence is likely irregular, tied to the evolution of Cloudflare's official tooling.
Traffic · last 30 days ↓37% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇮🇳 India