-
-
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
Split support in the Vercel Serverless adapter #7514
Conversation
🦋 Changeset detectedLatest commit: 7c58693 The changes in this PR will be included in the next version bump. 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 |
!vercel-split |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, there! This change is quite nice, should bring high performance benefits. I'm quite out of touch with the codebase, but these changes seems ok. I don't know what route.pattern.source
outputs, but make sure it's Vercel-complainant (they can be very tricky, I hate them).
!preview vercel-split |
|
Tested with an example app and everything seems to be working. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM! Super excited for this!
* start of vercel split support * Split Mode with the Vercel Adapter * Write routes into the config.json * Add a changeset * Add docs * Better changeset
Changes
build.split: true
in the Vercel adapter. Similar to cloudflare, a new function folder is created for each one.Testing
Manually testing.
Docs
TBD