mirror of
https://github.com/furyhawk/home_stack.git
synced 2026-07-20 09:47:57 +00:00
⬆ Update @tanstack/react-router-devtools to version 1.120.5 and improve formatting in vite.config.ts
This commit is contained in:
Generated
+5
-5
@@ -29,7 +29,7 @@
|
||||
"@biomejs/biome": "1.9.4",
|
||||
"@hey-api/openapi-ts": "^0.57.0",
|
||||
"@playwright/test": "^1.52.0",
|
||||
"@tanstack/react-router-devtools": "1.120.6",
|
||||
"@tanstack/react-router-devtools": "1.120.5",
|
||||
"@tanstack/router-vite-plugin": "1.120.5",
|
||||
"@types/node": "^22.15.19",
|
||||
"@types/react": "^19.1.4",
|
||||
@@ -2048,13 +2048,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tanstack/react-router-devtools": {
|
||||
"version": "1.120.6",
|
||||
"resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.120.6.tgz",
|
||||
"integrity": "sha512-EKK0+s10S7/00lGh881dDMvP7ySlCTRNKvrHx0wlO9JnGZ+WuNMyNgRRiQdZrSLVZ96se45cTbc4HeImAZN9BA==",
|
||||
"version": "1.120.5",
|
||||
"resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.120.5.tgz",
|
||||
"integrity": "sha512-unCiEL/QbB4O2Gt5U5U6xPoo2fdA38J+1cAzv0CNiK3cuj+XNd/5oegIuusFn4z0W+S2CIxCBXR1w0A49iMxrA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tanstack/router-devtools-core": "^1.120.6",
|
||||
"@tanstack/router-devtools-core": "^1.120.5",
|
||||
"solid-js": "^1.9.5"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"@biomejs/biome": "1.9.4",
|
||||
"@hey-api/openapi-ts": "^0.57.0",
|
||||
"@playwright/test": "^1.52.0",
|
||||
"@tanstack/react-router-devtools": "1.120.6",
|
||||
"@tanstack/react-router-devtools": "1.120.5",
|
||||
"@tanstack/router-vite-plugin": "1.120.5",
|
||||
"@types/node": "^22.15.19",
|
||||
"@types/react": "^19.1.4",
|
||||
|
||||
@@ -13,7 +13,7 @@ export default defineConfig({
|
||||
plugins: [
|
||||
react({
|
||||
// Enable JSX runtime for React 19
|
||||
jsxRuntime: "automatic"
|
||||
jsxRuntime: "automatic",
|
||||
}),
|
||||
TanStackRouterVite(),
|
||||
],
|
||||
@@ -22,6 +22,7 @@ export default defineConfig({
|
||||
"dev.lan",
|
||||
"dev.local",
|
||||
"localhost",
|
||||
"localhost:5173",
|
||||
"dev.lan:5173",
|
||||
"dev.local:5173",
|
||||
"localhost:5173",
|
||||
@@ -43,10 +44,15 @@ export default defineConfig({
|
||||
output: {
|
||||
// Split vendor code into separate chunks for better caching
|
||||
manualChunks: {
|
||||
vendor: ["react", "react-dom", "@tanstack/react-query", "@chakra-ui/react"],
|
||||
vendor: [
|
||||
"react",
|
||||
"react-dom",
|
||||
"@tanstack/react-query",
|
||||
"@chakra-ui/react",
|
||||
],
|
||||
leaflet: ["leaflet", "react-leaflet"],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user