React Vite reading ENV variables and firebase
I have a React / VITE project using Firebase / Firestore. My issue is reading the environment variables in production. Everything is working fine locally / development mode. The project builds with no errors. Below is the error I’m seeing in production. As you can see I’m logging the import.meta.env
to see if we have our .env variables. I’ve also tried other related Stack Overflow articles as well.