The best way to control Claude Code, Codex and more from any computer or phone

main
ts 16 lines 608 Bytes
Raw
1 import { prismaVitePlugin } from "@prisma/orm-postgres/vite-plugin-contract-emit";
2 import { tanstackStart } from "@tanstack/react-start/plugin/vite";
3 import viteReact from "@vitejs/plugin-react";
4 import { nitro } from "nitro/vite";
5 import { defineConfig } from "vite";
6
7 export default defineConfig({
8 server: { port: Number(process.env.PORT ?? "3000") },
9 plugins: [
10 tanstackStart({ router: { quoteStyle: "double", semicolons: true } }),
11 nitro(),
12 prismaVitePlugin("prisma.config.ts", { logLevel: "silent" }),
13 // React's Vite plugin must come after TanStack Start.
14 viteReact(),
15 ],
16 });