Javascript – import.meta.env variables exposed in index.js file after build using React-SWC with Vite
I'm using import.meta.env in my project, and I've noticed that in the production build, the environment variables are directly exposed in the index.js file. This makes me wonder, what is the point of using environment variables if they are directly…