Open History to see the last commit
1import { defineConfig } from 'vite'
2import { tanstackStart } from '@tanstack/react-start/plugin/vite'
3β
4export default defineConfig({
5 server: {
6 port: 3000,
7 },
8 plugins: [
9 tanstackStart({
10 srcDirectory: './src/app',
11 router: {
12 entry: '../router.tsx',
13 routesDirectory: '../routes',
14 generatedRouteTree: '../routeTree.gen.ts',
15 },
16 }),
17 ],
18})