Fix project config
All checks were successful
Lint / lint (push) Successful in 13s
Publish / publish (push) Successful in 17s

This commit is contained in:
Julien Valverdé
2025-10-03 18:19:23 +02:00
parent 9a3c91b50b
commit 59298e7074
7 changed files with 79 additions and 52 deletions

View File

@@ -1,4 +1,4 @@
import { TanStackRouterVite } from "@tanstack/router-plugin/vite"
import { tanstackRouter } from "@tanstack/router-plugin/vite"
import react from "@vitejs/plugin-react"
import path from "node:path"
import { defineConfig } from "vite"
@@ -7,7 +7,10 @@ import { defineConfig } from "vite"
// https://vite.dev/config/
export default defineConfig({
plugins: [
TanStackRouterVite(),
tanstackRouter({
target: "react",
autoCodeSplitting: true,
}),
react(),
],