Commit a816df1
authored
fix: stop emitting the envFile deprecation warning on Vite 8 (#266)
The vite-node server passes `envFile: false` to `createServer`, which Vite 8
deprecated in favour of `envDir: false`. Pick the key from the installed Vite
major so Vite 8 stops warning while the `>=5` peers keep the old key.
Also reformats `packages/react-router-devtools/package.json`, which the
release bot rewrote in becd7c9 without the Validation Pipeline running. That
left `biome ci` failing on main, so every PR since inherits a red check.1 parent cee8b01 commit a816df1
2 files changed
Lines changed: 14 additions & 2 deletions
File tree
- .changeset
- packages/react-router-devtools/src/vite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | | - | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
0 commit comments