Skip to content

Deps: upgrade Vite from 5 to 7 #279

Closed

Description

@wab

What to build

Upgrade Vite from 5 to 7, and vite-tsconfig-paths to 6. This clears the last production audit findings, which are all dev-server issues in Vite and esbuild.

React Router 7.18 accepts Vite 5 to 8. Stop at 7: Vite 8 replaces Rollup with Rolldown and deserves its own decision. The tests stay on Vitest 3 in this ticket, which accepts Vite 7.

Acceptance criteria

  • pnpm audit --prod reports no high or critical finding
  • pnpm build passes and the Vercel preview renders FR and EN pages
  • The dev server starts and hot reload works
  • SSR logs show no NO_I18NEXT_INSTANCE warning, so the ssr.noExternal setting for the i18n packages still works
  • check, typecheck, unit tests and e2e tests pass

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, AFK-ready for an agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions