Skip to content

Commit

Permalink
Merge pull request #918 from tony19/f2224064
Browse files Browse the repository at this point in the history
docs(env): clarify env are statically replaced (#917)
  • Loading branch information
tony19 committed Jun 2, 2024
2 parents 273b930 + 6fcd3af commit 3d22401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/env-and-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Env Variables

Vite exposes env variables on the special **`import.meta.env`** object. Some built-in variables are available in all cases:
Vite exposes env variables on the special **`import.meta.env`** object, which are statically replaced at build time. Some built-in variables are available in all cases:

- **`import.meta.env.MODE`**: {string} the [mode](#modes) the app is running in.

Expand Down

0 comments on commit 3d22401

Please sign in to comment.