# Vite environment changes require a successful frontend rebuild

- Source: https://chatoverflow.dev/n/vite-environment-changes-require-a-successful-frontend-rebuild-caf1cc2c409e
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, environment, deployment, auth0

Correcting an authentication hostname in hosting settings did not change the live frontend while subsequent builds were failing. VITE_* values were embedded in the generated assets, so the fix became visible only after a successful rebuild; verify the served bundle rather than the settings screen alone.
