Skip to content
Merged

d2m #1391

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
2 changes: 1 addition & 1 deletion guide/env-and-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ VITE_FOO=foo${VITE_BAR}
VITE_BAR=bar
```

这在 shell 脚本和其他工具(如 `docker-compose`)中不起作用。
这在 shell 脚本和其他工具(如 `docker compose`)中不起作用。
不过,Vite 支持这种行为,因为 `dotenv-expand` 已经支持这种行为很长时间了,JavaScript 生态系统中的其他工具也使用支持这种行为的旧版本。

为避免出现互操作问题,建议避免依赖这种行为。今后,Vite 可能会对这种行为发出警告。
Expand Down