Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

vite.config.ts

15 lines455 Bytes

1import { defineConfig } from 'vite'
2import { devtools } from '@tanstack/devtools-vite'
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 devtools(),
10 cloudflare({ viteEnvironment: { name: 'ssr' } }),
11 tanstackStart(),
12 viteReact(),
13 ],
14 server: { port: 4175, strictPort: true },
15})