fix(guide): silence Vite env deprecation [Codex] - #1344
jderochervlk wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
guide | 8ca2382 | Commit Preview URL Branch Preview URL |
Sep 13 2026, 02:32 PM |
Guide Cloudflare deployment⛅️ wrangler 4.114.0 To deploy this version to production traffic use the command wrangler versions deploy Changes to non-versioned settings (config properties 'logpush' or 'tail_consumers') take effect after your next deployment using the command wrangler versions deploy Changes to triggers (routes, custom domains, cron schedules, etc) must be applied with the command wrangler triggers deploy |
Cloudflare deploymentDeployement ID: 9246d60e-4241-4966-aea0-f64f8dcab9fb ⛅️ wrangler 4.114.0 ✨ Uploading _redirects |
|
We can skip doing this and just update to Vite 8 soon. |
Vite 8.1 deprecates the
envFile: falseoption used internally by React Router 7.15, causing repeated warnings during guide builds. The maintained React Router 7.x line does not include the upstream compatibility fix, while upgrading the guide to React Router 8 would require a separate migration.The guide now uses a Yarn patch for its existing
@react-router/dev@7.15.0dependency. It replaces the four internal Vite child-compiler uses ofenvFile: falsewith the supportedenvDir: falsesetting. The patch is scoped only to the guide workspace and recorded in the lockfile for reproducible installs.