v0.0.4
Bug Fixes
-
Fixed
AsyncLocalStoragemissing constructor on Cloudflare Workers - Under--target browser,
Bun was stubbing or inliningnode:async_hooksinstead of leaving it as a bare specifier.
At runtime, Cloudflare Workers couldn't find the constructor even withnodejs_compatenabled.The build now passes
--packages externalto the browser-targeted step, so allnode:*
imports (and npm dependencies) are left as bare specifiers in the output. Wrangler resolves
them correctly at deploy time.