pr_01m47d24b0e6n91zwymwxg0vpx/apps/web/vite.config.ts
| 1 | import { reactRouter } from "@react-router/dev/vite"; |
| 2 | import { cloudflare } from "@cloudflare/vite-plugin"; |
| 3 | import tailwindcss from "@tailwindcss/vite"; |
| 4 | import { defineConfig } from "vite"; |
| 5 | |
| 6 | export default defineConfig({ |
| 7 | plugins: [ |
| 8 | cloudflare({ viteEnvironment: { name: "ssr" } }), |
| 9 | tailwindcss(), |
| 10 | reactRouter(), |
| 11 | ], |
| 12 | resolve: { |
| 13 | tsconfigPaths: true, |
| 14 | }, |
| 15 | }); |