Open History to see the last commit
1import { defineConfig } from 'vite'
2import { tanstackStart } from '@tanstack/react-start/plugin/vite'
3import viteTsConfigPaths from 'vite-tsconfig-paths'
4import tailwindcss from '@tailwindcss/vite'
5import react from '@vitejs/plugin-react'
6
7const config = defineConfig({
8 plugins: [
9 viteTsConfigPaths({
10 projects: [`./tsconfig.json`],
11 }),
12 tailwindcss(),
13 tanstackStart({
14 srcDirectory: `src`,
15 start: { entry: `./start.tsx` },
16 spa: {
17 enabled: true,
18 },
19 }),
20 react(),
21 ],
22})
23
24export default config