@vercel/frameworks@3.30.5
📦 vercel-cliView on GitHub →
✨ 5 features🔧 6 symbols
Summary
This patch introduces an opt-in feature for framework detection during `vc build` on the first deployment, which records the detected framework and validates build output without slowing down the process.
Migration Steps
- To enable framework detection during `vc build`, set the environment variable `VERCEL_FRAMEWORK_DETECTION=1`.
✨ New Features
- Framework detection during `vc build` is now opt-in via the `VERCEL_FRAMEWORK_DETECTION=1` environment variable.
- Framework detection runs on the first deployment (`VERCEL_FIRST_DEPLOYMENT=1`) when no framework is configured.
- Detected framework is recorded as `detectedFramework` in `builds.json`.
- The configured framework is cross-checked against the source code in the background without impacting build time.
- Build output is validated after it is written.