Vite build cache not clearing on Vercel after redeploy from Manus checkpoints

Hi, please I need urgent help on the following issues

  • Vite project outputs to dist/public
  • Builds complete successfully, but Vercel serves old cached bundles
  • Production Overrides don’t match the current Project Settings
  • Redeploying doesn’t clear the old cache
  • I dont know why the build cache isn’t being cleared properly when I deploy from Manus checkpoints?

Thanks

Hey there! Your cached build issue is likely happening because Vercel is using stale build artifacts.

First, let’s do a clean deploy without any cached data:

  • Go to your project dashboard → Deployments tab
  • Click the three dots on your latest deployment → Redeploy
  • Uncheck “Use existing Build Cache” → Deploy

Alternatively, you can force a clean build using:

  • Add environment variable: VERCEL_FORCE_NO_BUILD_CACHE=1
  • Via CLI: vercel --prod --force

Since your Vite project builds to dist/public, you’ll want to make sure this is configured correctly:

  • Go to Project Settings → Build & Development Settings
  • Set Output Directory to dist/public (not just dist)
  • Turn OFF any Production Override toggle if it’s enabled

If you have a vercel.json file in your project, it might be overriding your dashboard settings. Check if you have something like:

{
  "outputDirectory": "dist/public",
  "framework": "vite"
}

Could you also clarify what “Manus checkpoints” refers to?

Let me know if the clean deploy fixes it or if you’re still seeing issues!