Flags

How to add or modify Next.js experimental feature flags end-to-end. Use when editing config-shared.ts, config-schema.ts, define-env-plugin.ts, next-server.ts, export/worker.ts, or module.compiled.js. Covers type declaration, zod schema, build-time injection, runtime env plumbing, and the decision between runtime env-var branching vs separate bundle variants.

vercel bf2e09d 2.9 KB Updated

File contents

vercel/next.js commit bf2e09d84a

Frequently asked questions

npx skillmds add vercel/flags