Vercel now supports
All projects can now use
Try the playground to explore
Read more
Continue reading...
vercel.ts, a new TypeScript-based configuration file that brings type safety, dynamic logic, and better developer experience to project configuration.vercel.ts lets you express configuration as code by defining advanced routing, request transforms, caching rules, and cron jobs, going beyond what static JSON can express. In addition to full type safety, this also allows access to environment variables, shared logic, and conditional behavior.All projects can now use
vercel.ts (or .js, .mjs, .cjs, .mts) for project configuration. Properties are defined identically to vercel.json and can be enhanced using the new @vercel/config package.Try the playground to explore
vercel.ts, learn how to migrate from an existing vercel.json, or read the documentation and the @vercel/config package.Read more
Continue reading...