Open History to see the last commit
1import { defineConfig } from 'vite'
2import { cloudflare } from '@cloudflare/vite-plugin'
3import { tanstackStart } from '@tanstack/react-start/plugin/vite'
4import viteReact from '@vitejs/plugin-react'
5β
6export default defineConfig({
7 resolve: { tsconfigPaths: true },
8 plugins: [
9 cloudflare({ viteEnvironment: { name: 'ssr' }, inspectorPort: false }),
10 tanstackStart(),
11 viteReact(),
12 ],
13})