mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-12 03:42:59 +02:00
chore(deps): upgrade vite to v8 and @vitejs/plugin-react to v6
Vite 8 replaces Rollup with Rolldown as the bundler engine. This requires migrating build.rollupOptions to build.rolldownOptions and the removed object-form manualChunks to the new codeSplitting.groups API. Migrate vite.config.ts: - rollupOptions -> rolldownOptions - manualChunks object -> codeSplitting.groups with RegExp test patterns (vendor: react/react-dom/react-router, i18n: i18next packages) @vitejs/plugin-react@6 requires vite@^8 as peer dependency, so both upgrades must land together. Verified: npm run build succeeds (chunks: vendor 230KB, i18n 55KB), tsc --noEmit clean, 339/339 vitest tests passing.
This commit is contained in:
+2
-2
@@ -21,10 +21,10 @@
|
||||
"@types/node": "^24.0.0",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"@vitejs/plugin-react": "^4",
|
||||
"@vitejs/plugin-react": "^6.0.4",
|
||||
"jsdom": "^29.1.1",
|
||||
"typescript": "^7.0.2",
|
||||
"vite": "^6",
|
||||
"vite": "^8.1.5",
|
||||
"vitest": "^4.1.10"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user