vercel-builder
vercel-builder copied to clipboard
How to configure `vercel -f` to always redeploy without existing build cache ?
First of all, thank you for this awesome package. This really simplify my deployment pipeline for Nuxt SSR in Vercel. ⭐ ⭐ ⭐
Issue Description
My current project at Vercel seems to randomly throw error during build. The issue is guaranteed to be gone when i redeploy and uncheck the "Redeploy with existing build cache".
After contacting Vercel support, they suggest that i should use -f
flag on vercel
command.
But i'm not sure where to incorporate that flag using this vercel-builder package.
I've tried setting NUXT_CACHE_DISABLED
in project Environment Variables
settings. But this doesn't seem to be working.
Question
- Is
NUXT_CACHE_DISABLED
meant to set-f
flag? If so, where to put that env value? - If not, is there any way to do this?