-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(remix-dev/vite): Add unstable_serverBundles #8332
Conversation
🦋 Changeset detectedLatest commit: a1a41b5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Pedro Cattori <pcattori@gmail.com>
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
See updated docs for details, but the high level summary is that this lets you split your server into multiple bundles with a request handler in each, with each one designed to handle a subset of routes.
We also generate a manifest in
build/server/bundles.json
so consumers have everything they need to direct requests to the correct server bundle. We may provide higher level utilities for consuming the manifest, but this is good enough to get the ball rolling.Also see #8296.