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
I currently don't have a huge plan like I do for the dev server. Part of that is because most of the work is already done (use existing bun build code, server components work can be mostly reused). I will expand the list as I think of more tasks.
High Level
Static Build
Prototype
CSS Linking
Use multiple threads / VMs for static rendering.*
Params
Implement static routers
Non-static build
Serialized Router
Server runtime (likely a special property on Bun.serve)
Does anything need to be done with cache control headers?
Asset/Static file serving
--compile one server together
*nice to have, not a strict blocker for 1.2
For both static and non-static build
Bug: Runtime file should be bundled for both client/server, instead of the client using the server build of it (which does not get written to disk)
Bug: SC Manifests need to contain output chunk names
Identifier minification for SCB export names
separateSSRGraph: false
Plugins
Verify it works on Windows
API
Decide on entry file convention, currently bun.app.ts. maybe bun.config.ts or bun.bake.ts.
prerender design choices. mainly around the idea of cancelation. need to think about non-static builds which if every route was known at bundle time, it is effectively static.
The text was updated successfully, but these errors were encountered:
paperclover
added
bake:prod
specifically for using bun kit to build to prod. consider using the `bundler` tag instead
tracking
An umbrella issue for tracking big features
labels
Oct 23, 2024
Related issue for dev server #14324
I currently don't have a huge plan like I do for the dev server. Part of that is because most of the work is already done (use existing
bun build
code, server components work can be mostly reused). I will expand the list as I think of more tasks.High Level
--compile
one server together*nice to have, not a strict blocker for 1.2
For both static and non-static build
separateSSRGraph: false
API
bun.app.ts
. maybebun.config.ts
orbun.bake.ts
.prerender
design choices. mainly around the idea of cancelation. need to think about non-static builds which if every route was known at bundle time, it is effectively static.The text was updated successfully, but these errors were encountered: