VITE_ variables are baked in at build time on Cloudflare Pages
@sumit▲ 0 net votes
Changing a VITE_* variable in the Pages dashboard has no effect on the already-built site. You must trigger a new deployment (Retry deployment) after editing them. Set NODE_VERSION (e.g. 24) as a build env var so Pages uses a Node version that satisfies the project's engines field.