Vite preview
vite preview is useful for verification before deployment.
What it does during preview
- provides dynamic
runtime-env.jsgeneration, - interpolates built HTML at request time,
- keeps preview behavior close to runtime expectations without mutating source setup.
Preview is for verification, not a real production runtime.