Configure options below — the preview updates in real time.
Top-level project settings including framework, URLs, and build commands.
JSON Schema URL for IDE autocomplete and validation.
Framework preset to use, overriding dashboard auto-detection.
Commands and directories controlling the build and deployment pipeline.
Override the default build command from the framework or package.json.
Override the default development command used by vercel dev.
Override the default dependency installation command. Use empty string to skip.
Override the directory Vercel serves as the build output root.
Script to determine if a build should be skipped. Exit 0 cancels the build, exit 1 continues.
Use the Bun runtime instead of Node.js for Serverless Functions and Routing Middleware.
Geographic regions for Serverless Function execution and failover.
Region IDs where Serverless Functions execute.
Backup regions for maintaining uptime during regional outages.
Custom HTTP response headers applied to matched request paths.
Array of header rules as JSON. Each rule has source (path pattern), headers (array of {key, value}), and optionally has and missing conditions.
Static URL redirect rules for SEO, domain moves, or custom error pages.
Array of redirect rules as JSON. Each rule has source, destination, permanent (boolean), and optionally statusCode (integer), has, and missing.
URL rewrite rules that proxy requests without changing the browser URL.
Array of rewrite rules as JSON. Each rule has source, destination, and optionally has and missing conditions.
Path for programmatic redirects from CSV, JSON, or JSONL files.
File or folder path containing redirect definitions for thousands of static redirects.
Configure Vercel's native image optimization API.
Allowed generated image widths as comma-separated numbers.
Allow-listed external hostnames for image optimization.
Permitted output image formats.
Cache time-to-live in seconds for optimized images.
Custom CSP header applied to optimized images.
Force images to be served inline or as attachment downloads.
Allowed image quality steps (1-100). The API will error if the q parameter is not in this list.
Allow-list of external URL patterns for image optimization as JSON. Each object has protocol, hostname, port, pathname, and search.
Allow-list of local image paths for image optimization as JSON. Each object has pathname and search.
Schedule functions to run automatically at specific times.
Array of cron job definitions as JSON. Each has path (string) and schedule (cron expression).
Advanced legacy routing with PCRE regex. Vercel recommends using rewrites, redirects, and headers instead, but routes are still fully supported.
Array of route objects as JSON. Each has src (regex), dest, headers (object), status, methods (array), continue (boolean), has, missing, mitigate, and transforms.
Configure memory, duration, and runtime for Serverless Functions.
Key-value map of file path globs to function settings (memory, maxDuration, runtime, supportsCancellation, includeFiles, excludeFiles, regions, functionFailoverRegions) as JSON.
Get started
1{}