Since Vite bundles for both dev and build, remember that .env.local is loaded during vite build as well. Don't assume it's only for vite dev .
Do not put spaces around the = .