Repository navigation
Commit 92598a6
committed
fix(console): keep the build-identity define out of the vitest projects' process.env
Vitest moves every import.meta.env.* / process.env.* define into the main
process's process.env while it resolves a project's config, so the console
project's VITE_APP_VERSION (the build's git sha) reached app-shell's
getConsoleBuild() in other projects' workers. The console vitest config now
drops those keys from the merged vite config; the build keeps them.
Claude-Session: https://claude.ai/code/session_01KpXmBvpnCGgpgx8hNbqsso
Co-authored-by: Claude <noreply@anthropic.com>1 parent 601c773 commit 92598a6
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
10 | 25 | | |
11 | | - | |
| 26 | + | |
12 | 27 | | |
13 | 28 | | |
14 | 29 | | |
| |||
0 commit comments