Details: C3 = create-cloudflare@2.62.0 project name = anum-frontend framework = react-router framework cli = create-react-router@7.9.6 package manager = pnpm@10.26.1 wrangler = wrangler@4.57.0 git = 2.52.0
14 lines
405 B
TypeScript
14 lines
405 B
TypeScript
import { reactRouter } from "@react-router/dev/vite";
|
|
import { cloudflare } from "@cloudflare/vite-plugin";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import { defineConfig } from "vite";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
cloudflare({ viteEnvironment: { name: "ssr" } }),
|
|
tailwindcss(),
|
|
reactRouter(),
|
|
tsconfigPaths(),
|
|
],
|
|
});
|