Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/features/env.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Environment Variables and Modes

`Farm` distinguishes between `development` and `production` environments through `process.env.NODE\_ENV`.
`Farm` distinguishes between `development` and `production` environments through `process.env.NODE_ENV`.

In different environments, environment variables are replaced statically, so use static constants to represent environment variables instead of dynamic expressions.

Expand Down Expand Up @@ -61,4 +61,4 @@ export defineConfig({
})
```

For above config example, Farm will load `.env`, `.env.development`, etc from `<root>/env` dir.
For above config example, Farm will load `.env`, `.env.development`, etc from `<root>/env` dir.