Open History to see the last commit
1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3import { tanstackRouter } from '@tanstack/router-plugin/vite'
4import { routes } from './routes'
5β
6// https://vitejs.dev/config/
7export default defineConfig({
8 plugins: [
9 tanstackRouter({
10 target: 'react',
11 autoCodeSplitting: true,
12 verboseFileRoutes: false,
13 virtualRouteConfig: routes,
14 }),
15 react(),
16 ],
17})