You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of bundling & minifying in CI ahead of time, do it lazily in the HTTP request just before it's sent to the client, then cache it at the edge. "edge bundling" is a phrase I made up
Bun is fast enough to support this, but more infra needs to be built to make it good.
Port esbuild's JavaScript minifier to bun's JavaScript parser
Port esbuild's CSS parser to bun (including the minifier)
Implement tree-shaking
Implement code splitting
Revise .bun format to support partially bundled code, or just get rid of it entirely.
Implement sourcemaps
Expose all this in a WASM build that can be used in environments like Cloudflare Workers
The text was updated successfully, but these errors were encountered:
What is edge bundling?
Instead of bundling & minifying in CI ahead of time, do it lazily in the HTTP request just before it's sent to the client, then cache it at the edge. "edge bundling" is a phrase I made up
Bun is fast enough to support this, but more infra needs to be built to make it good.
The text was updated successfully, but these errors were encountered: