Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

vite.config.ts

10 lines270 Bytes

1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3import { tanstackRouter } from '@tanstack/router-plugin/vite'
4​
5export default defineConfig({
6 plugins: [
7 tanstackRouter({ target: 'react', autoCodeSplitting: true }),
8 react(),
9 ],
10})