Skip to content

Glossary: Firebase and Supabase

.env file

Also written: import.meta.env, VITE_

A file of `NAME=value` lines that Vite reads at start. Only names starting with `VITE_` are passed to the page, and their values end up in the built files where anyone can read them, so never put a secret key there.

Where the book teaches it

Related terms

Viteenvironment variables