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'
5import tailwindcss from '@tailwindcss/vite'
6β
7export default defineConfig({
8 server: {
9 port: 3000,
10 },
11 resolve: {
12 tsconfigPaths: true,
13 },
14 plugins: [
15 tailwindcss(),
16 cloudflare({ viteEnvironment: { name: 'ssr' } }),
17 tanstackStart(),
18 viteReact(),
19 ],
20})