Open History to see the last commit
1import { defineConfig } from 'vite'
2import tsConfigPaths from 'vite-tsconfig-paths'
3import { tanstackStart } from '@tanstack/react-start/plugin/vite'
4import viteReact from '@vitejs/plugin-react'
5β
6export default defineConfig({
7 base: '/custom/basepath',
8 server: {
9 port: 3000,
10 },
11 plugins: [
12 tsConfigPaths({
13 projects: ['./tsconfig.json'],
14 }),
15 tanstackStart({
16 vite: { installDevServerMiddleware: true },
17 }),
18 viteReact(),
19 ],
20})