If you are using Vite, use import.meta.env instead, process.env is removed.
And make sure variables start with VITE_ in .env file.
VITE_SOME_KEY=123
more
https://vitejs.dev/guide/env-and-mode.html
If you are using Vite, use import.meta.env instead, process.env is removed.
And make sure variables start with VITE_ in .env file.
VITE_SOME_KEY=123
more
https://vitejs.dev/guide/env-and-mode.html