Support for serverless functions in build/api
with Github deyployments?
#109
-
TL;DR - We generate serverless functions in a build step and can't get them to work in deployments triggered by Github. Does Vercel support serverless functions contained in a We have a Typescript API with the following file structure:
On Deploying this manually is easy. In Vercel, set
This is because the Other than committing our |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 1 reply
-
This was eventually solved by skipping the build step entirely and simply setting |
Beta Was this translation helpful? Give feedback.
This was eventually solved by skipping the build step entirely and simply setting
src
as the root directory. Vercel was able to automatically detect and build the serverless functions in thesrc/api
directory.