diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 836ad77..fb82f16 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -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": { diff --git a/frontend/package.json b/frontend/package.json index 739eefa..c0522f2 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -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", diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3fd96d6..9f44352 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -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"], }, }, }, }, -}) +});