⬆️ Update TansTack Router dependencies (#1853)

This commit is contained in:
Alejandra
2025-09-08 12:12:19 +02:00
committed by GitHub
parent 3f2005a427
commit 780e6691a0
6 changed files with 2226 additions and 490 deletions

View File

@@ -1,5 +1,5 @@
import path from "node:path"
import { TanStackRouterVite } from "@tanstack/router-vite-plugin"
import { tanstackRouter } from '@tanstack/router-plugin/vite'
import react from "@vitejs/plugin-react-swc"
import { defineConfig } from "vite"
@@ -10,5 +10,10 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"),
},
},
plugins: [react(), TanStackRouterVite()],
plugins: [
tanstackRouter({
target: "react",
autoCodeSplitting: true,
}),
react()],
})