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 have a monorepo using Turbo, where one of the packages contains Vercel Serverless functions. I can successfully build and deploy functions locally using the Vercel CLI. However, the Vercel CI/CD runs a Turbo build pipeline, which searches for a build script in the functions package. Using the script "build": "vercel build" triggers Vercel to build recursively. Is there a way to overcome this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a monorepo using Turbo, where one of the packages contains Vercel Serverless functions. I can successfully build and deploy functions locally using the Vercel CLI. However, the Vercel CI/CD runs a Turbo build pipeline, which searches for a build script in the functions package. Using the script
"build": "vercel build"
triggers Vercel to build recursively. Is there a way to overcome this issue?You can find a minimal reproduction example here: https://github.com/shahafa/serverless-functions-example
Vercel CI/CD logs, as you can see nothing being built since I don't have a build script in the package and therefore no output folder as well

Beta Was this translation helpful? Give feedback.
All reactions