env
3 stories and discussions about env, aggregated from every source we track.
1.
Your app never reads your .env file, it reads its environment. See how parent processes set it, what dotenv really does, and how runtime injection replaces .env.
2.
Use a declarative sbxenv.yaml file to describe and share your sandbox configuration.
3.
A Vite and Astro gotcha: why PUBLIC_ prefixed variables reach the client and everything else does not, and how to fix it without leaking secrets.