
Build
Environment variables and secrets, explained: the .env file
Why your app's keys live in labelled envelopes outside the code, which envelopes the browser gets a copy of (VITE_, NEXT_PUBLIC_), and where secret keys actually belong, from the tools' own docs.
Sam Ortega · 1h ago · 6 min
