Open History to see the last commit
1import { defineConfig } from "vite"
2import solid from "vite-plugin-solid"
3import tailwindcss from "@tailwindcss/vite"
4import { tanstackStart } from "@tanstack/solid-start/plugin/vite"
5import viteTsConfigPaths from "vite-tsconfig-paths"
6
7// https://vitejs.dev/config/
8export default defineConfig({
9 ssr: { external: [`drizzle-orm`] },
10 plugins: [
11 viteTsConfigPaths({
12 projects: [`./tsconfig.json`],
13 }),
14 tailwindcss(),
15 tanstackStart({
16 customViteSolidPlugin: true,
17 spa: {
18 prerender: { enabled: false },
19 enabled: true,
20 },
21 }),
22 solid({ ssr: true }),
23 ],
24})