unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.81k stars 489 forks source link

support `vercel deploy --prebuilt` #1765

Open pi0 opened 11 months ago

pi0 commented 11 months ago

Discussed in https://github.com/unjs/nitro/discussions/1754

Originally posted by **sandys** September 23, 2023 hi, we build our vercel serverless and edge apis locally and deploy them using "vercel deploy --prebuilt". This is a very supported workflow by Vercel - https://vercel.com/guides/deploying-locally-built-nextjs does anyone have any idea on how to do this with nitro ? as long as i have a prebuilt vercel build output api compatible output, i will be able to run "vercel deploy --prebuilt" without any problems.
pi0 commented 11 months ago

(Moved from discussion, need someone to try if it is already possible ? the adding to the docs : adding support)