Vercel now caches dependencies for projects using Yarn 2 and newer, reducing install times and improving build performance. Previously, caching was only supported for npm, pnpm, Bun, and Yarn 1.
To disable caching, set the environment variable
If you're using Yarn 4, enable Corepack, as recommended by Yarn.
Visit the Build Cache documentation to learn more.
Read more
Continue reading...
To disable caching, set the environment variable
VERCEL_FORCE_NO_BUILD_CACHE
with a value of 1
in your project settings.If you're using Yarn 4, enable Corepack, as recommended by Yarn.
Visit the Build Cache documentation to learn more.
Read more
Continue reading...