Vercel Serverless Function

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Aug 16 3:49
Editor
Edited
Edited
2024 Feb 18 11:18
Refs
Vercel Serverless Functions
 
 
 

WaSM

includefiles

Cannot import other functions with Python API · vercel/vercel · Discussion #4717
After seeing this comment, I learned that to import a function in your Python API, you have to put an underscore before the file name. I tried this method but it doesn't seem to work. I have _u...
Cannot import other functions with Python API · vercel/vercel · Discussion #4717
Configuring Projects with vercel.json
Learn how to use vercel.json to configure and override the default behavior of Vercel from within your project.
Configuring Projects with vercel.json

bundle size limit is 250MB from
AWS Lambda

Runtimes
Runtimes transform your source code into Functions, which are served by our Edge Network. Learn about the official runtimes supported by Vercel.
Runtimes

supported language

Vercel - Supported Languages for Serverless Functions - Vercel Documentation
Within the /api directory of your projects, Vercel will automatically recognize the languages listed on this page, through their file extensions, and serve them as Serverless Function. Note: In a Next.js application, use /pages/api for Node.js functions and use/api for all other languages.
Vercel - Supported Languages for Serverless Functions - Vercel Documentation

Region change in project setting

How do I choose which region to deploy my Serverless Functions in?
Information on selecting and changing the region your Serverless Functions are deployed to.
How do I choose which region to deploy my Serverless Functions in?
 
 

Recommendations