@vercel/frameworks@3.30.5
📦 vercel-functionsView on GitHub →
✨ 5 features🔧 6 symbols
Summary
This patch introduces an opt-in feature for framework detection during `vc build`, which runs on the first deployment to record the detected framework and cross-check configurations in the background.
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 environment variable `VERCEL_FRAMEWORK_DETECTION=1`.
- 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.