Open History to see the last commit
1import { tanstackStart } from '@tanstack/react-start/plugin/vite'
2import { defineConfig } from 'vite'
3import tsConfigPaths from 'vite-tsconfig-paths'
4import viteReact from '@vitejs/plugin-react'
5import tailwindcss from '@tailwindcss/vite'
6β
7export default defineConfig({
8 server: {
9 port: 3000,
10 },
11 plugins: [
12 tailwindcss(),
13 tsConfigPaths({
14 projects: ['./tsconfig.json'],
15 }),
16 tanstackStart({
17 srcDirectory: 'src',
18 }),
19 viteReact(),
20 ],
21})