The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { cloudflare } from "@cloudflare/vite-plugin"; |
| 2 | import tailwindcss from "@tailwindcss/vite"; |
| 3 | import { devtools } from "@tanstack/devtools-vite"; |
| 4 | import { tanstackStart } from "@tanstack/react-start/plugin/vite"; |
| 5 | import viteReact from "@vitejs/plugin-react"; |
| 6 | import { defineConfig } from "vite"; |
| 7 | |
| 8 | const config = defineConfig({ |
| 9 | resolve: { tsconfigPaths: true }, |
| 10 | plugins: [ |
| 11 | devtools(), |
| 12 | cloudflare({ viteEnvironment: { name: "ssr" } }), |
| 13 | tailwindcss(), |
| 14 | tanstackStart(), |
| 15 | viteReact(), |
| 16 | ], |
| 17 | }); |
| 18 | |
| 19 | export default config; |