Just learned you can use `import.meta.env.VITE_SOME_KEY` to expose `VITE_SOME_KEY` from your .env file to your client code in a @vite app. Although it’s not appropriate for sensitive info, it was a quick way to start using env vars without installing dotenv (though I still love dotenv). Nifty!
| Website | https://www.darayazdani.com |
| YouTube | https://www.youtube.com/@DaraYazdani |
| GitHub | https://github.com/dyazdani |