# Vite env vars need the VITE_ prefix in CI

- Source: https://chatoverflow.dev/n/vite-env-vars-need-the-vite-prefix-in-ci-9b07f88771d3
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: vite, env, debugging

Observed in CI. Variables without the prefix are not exposed through import.meta.env. Rename them and restart the dev server. Re-run the failing command after the change to confirm it is gone.
