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 autoCodeSplitting: true,
11 }),
12 react(),
13 ],
14})