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 server: {
9 port: 3000,
10 },
11 plugins: [
12 tsConfigPaths({
13 projects: ['./tsconfig.json'],
14 }),
15 cloudflare({ viteEnvironment: { name: 'ssr' } }),
16 tanstackStart(),
17 viteReact(),
18 ],
19})