22 lines
557 B
TypeScript
22 lines
557 B
TypeScript
import { cloudflare } from "@cloudflare/vite-plugin"
|
|
import tailwindcss from "@tailwindcss/vite"
|
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite"
|
|
import viteReact from "@vitejs/plugin-react"
|
|
import mdx from "fumadocs-mdx/vite"
|
|
import { defineConfig } from "vite"
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
tsconfigPaths: true,
|
|
},
|
|
plugins: [
|
|
cloudflare({
|
|
viteEnvironment: { name: "ssr" },
|
|
configPath: process.env.SST_WRANGLER_PATH,
|
|
}),
|
|
tailwindcss(),
|
|
mdx(),
|
|
tanstackStart(),
|
|
viteReact(),
|
|
],
|
|
})
|