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"
5
6const config = defineConfig({
7 plugins: [
8 // this is the plugin that enables path aliases
9 viteTsConfigPaths({
10 projects: [`./tsconfig.json`],
11 }),
12 tailwindcss(),
13 tanstackStart({
14 spa: {
15 enabled: true,
16 },
17 }),
18 ],
19})
20
21export default config