BlogsVercelFunction Configuration

Function Configuration

Function Configuration

3
posts
2019–2020

This post introduces the initial configuration options for Functions, detailing how to set environment variables, manage timeouts, and configure memory allocation. It lays the groundwork for fine-tuning function execution environments. The dashboard now allows configuring different Environment Variables for Production, Preview, and Development. A new `vercel env pull` command in the Vercel CLI enables downloading Development Environment Variables into a local `.env` file. `vercel env add` and `v

2020

Environment Variables UI

4/14/2020

Introduced the ability to configure different Environment Variables for Production, Preview, and Development directly in the Dashboard. Added `vercel env pull` command to download Development Environment Variables locally into a `.env` file. Introduced `vercel env add` and `vercel env remove` commands for command-line management of Environment Variables.

Advanced Project Settings on Vercel

2/6/2020

Introduced the ability to specify a Root Directory when connecting Git repositories, select a Framework or overwrite its default settings during import, and fully customize project settings (Build Command, Development Command, Output Directory) from the Project Settings page. Also enabled creating new projects via the Vercel CLI with on-the-fly configuration editing and linking local codebases to existing projects.

2019

Configuring Functions

11/12/2019

Introduces the core concepts and mechanisms for configuring Vercel Functions, including environment variables, timeout settings, and memory allocation. This is the foundational post for the 'Function Configuration' capability.