mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-08-01 22:42:29 +02:00
Merge pull request #346 from ipnet-mesh/chore/vite-8-plugin-react-6
chore(deps): upgrade vite to v8 and @vitejs/plugin-react to v6
This commit is contained in:
Generated
+278
-1298
File diff suppressed because it is too large
Load Diff
+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": {
|
||||
|
||||
+12
-4
@@ -20,12 +20,20 @@ export default defineConfig({
|
||||
outDir: DIST,
|
||||
emptyOutDir: true,
|
||||
manifest: true,
|
||||
rollupOptions: {
|
||||
rolldownOptions: {
|
||||
input: resolve(SPA_REACT, "index.html"),
|
||||
output: {
|
||||
manualChunks: {
|
||||
vendor: ["react", "react-dom", "react-router"],
|
||||
i18n: ["i18next", "react-i18next", "i18next-browser-languagedetector"],
|
||||
codeSplitting: {
|
||||
groups: [
|
||||
{
|
||||
name: "vendor",
|
||||
test: /[\\/]node_modules[\\/](react|react-dom|react-router)[\\/]/,
|
||||
},
|
||||
{
|
||||
name: "i18n",
|
||||
test: /[\\/]node_modules[\\/](i18next|react-i18next|i18next-browser-languagedetector)[\\/]/,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user