shipfeedAI news, curated daily

01:14:33 CET
21 MAY01:14:33shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

Introducing vercel.ts: Programmatic project configuration

Vercel launches vercel.ts, a TypeScript-based configuration file supporting type safety, dynamic routing, caching rules, and cron jobs as an alternative to static vercel.json.

Dec 19 · · primary fetch1 sourceupdated Dec 19 ·

Vercel now supports , 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.vercel.ts All projects can now use (or , , , ) for project configuration.

Properties are defined identically to and can be enhanced using the new package.vercel.ts.js.mjs.cjs.mtsvercel.json@vercel/config to explore , , or read the and the .Try the playgroundlearn how to migrate from an existing vercel.jsondocumentation@vercel/config packagevercel.ts Read more

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comIntroducing vercel.ts: Programmatic project configurationprimary