Repository navigation
Upgrade frontend to Node 22 and Vite 8 - #287
Conversation
Move the frontend runtime to Node.js 22 LTS and the bundler to Vite 8.3 with Rolldown so builds stay on Active LTS, satisfy modern package engines, and use native code-splitting instead of deprecated Rollup manualChunks. Align Capacitor CLI/core, Vitest, PWA/SVGR plugins, and related overrides; run e2e scripts on Alpine system Chromium via Playwright; and refresh unit tests for Vitest 5 mock strictness, consent preferences, and DivingCenterDetail tab/ownership UI.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Move the frontend runtime to Node.js 22 LTS and the bundler to Vite 8.3 with Rolldown so builds stay on Active LTS, satisfy modern package engines, and use native code-splitting instead of deprecated Rollup manualChunks.
Align Capacitor CLI/core, Vitest, PWA/SVGR plugins, and related overrides; run e2e scripts on Alpine system Chromium via Playwright; and refresh unit tests for Vitest 5 mock strictness, consent preferences, and DivingCenterDetail tab/ownership UI.