Open History to see the last commit
1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3import { tanstackRouter } from '@tanstack/router-plugin/vite'
4β
5// https://vitejs.dev/config/
6export default defineConfig({
7 plugins: [
8 tanstackRouter({
9 target: 'react',
10 experimental: {
11 nonNestedRoutes: process.env.MODE === 'nonnested',
12 },
13 }),
14 react(),
15 ],
16})