Open History to see the last commit
1import { defineConfig } from '@tanstack/start/config'
2import viteTsConfigPaths from 'vite-tsconfig-paths'
3import tailwindcss from '@tailwindcss/vite'
4
5const config = defineConfig({
6 tsr: {
7 appDirectory: 'src',
8 },
9 vite: {
10 plugins: [
11 // this is the plugin that enables path aliases
12 viteTsConfigPaths({
13 projects: ['./tsconfig.json'],
14 }),
15 tailwindcss(),
16 ],
17 },
18})
19
20export default config