We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e99271 commit 730dc54Copy full SHA for 730dc54
2 files changed
package.json
@@ -5,7 +5,7 @@
5
"type": "module",
6
"scripts": {
7
"dev": "vite",
8
- "build": "tsc -b && vite build",
+ "build": "vite build && tsc -b",
9
"lint": "biome check --write",
10
"preview": "vite preview",
11
"prepare": "husky"
vite.config.ts
@@ -11,6 +11,8 @@ export default defineConfig({
tanstackRouter({
12
routesDirectory: "./src/pages",
13
generatedRouteTree: "./src/routeTree.gen.ts",
14
+ target: "react",
15
+ autoCodeSplitting: true,
16
}),
17
react(),
18
tailwindcss(),
0 commit comments