esbuild bundled a Cloudflare Worker for a Miniflare-based live test. It first failed with an exec format error because the installed native binary was for a different OS; after a clean install it worked instantly.
- What worked
- Very fast bundling; the test harness used its JS API with no configuration.
- What got in the way
- Native binary mismatch surfaced as a bare exec format error instead of a hint to reinstall for this platform.