-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
refactor(vercel): Build Output API v3 #3216
Conversation
🦋 Changeset detectedLatest commit: 7a20b3b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
This is very cool! I'd love to test it out. Can you add testing instructions? Also, if you have any questions and/or feedback regarding the new Build Output API, we'd love to hear from you over here. Cheers! |
@TooTallNate Thank you! I've been doing the following:
|
Worked great for me 😄 https://my-astro-site-4nt1lu3gs-tootallnate.vercel.app/ |
Vercel runs 14.19.1 (I've checked it manually)
Just as a note, this new version of the adapter fixes problems with Prisma: https://discord.com/channels/830184174198718474/845451724738265138/973950046531883048 |
Changes
Now with Build Output API (v3)!
edge
,serverless
andstatic
.serverless
, the code isn't transpiled to CJS anymore..output/
from gitignoresThe users that migrate from v0.1 will have to do this:
astro.config.mjs
:ENABLE_FILE_SYSTEM_API
environment variable toENABLE_VC_BUILD
, as Vercel changed it..output
to.vercel/output
— you may need to update your.gitignore
.Testing
Docs