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