Open History to see the last commit
1import { defineConfig } from 'vite'
2import { devtools } from '@tanstack/devtools-vite'
3import { tanstackStart } from '@tanstack/react-start/plugin/vite'
4import viteReact from '@vitejs/plugin-react'
5import tailwindcss from '@tailwindcss/vite'
6
7export default defineConfig({
8 resolve: { tsconfigPaths: true },
9 server: { port: 3100 },
10 plugins: [
11 // Sends server devtools events to the panel, so steps show there.
12 devtools(),
13 tailwindcss(),
14 tanstackStart({
15 router: { routeFileIgnorePattern: '\\.test\\.ts$' },
16 }),
17 viteReact(),
18 ],
19})