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

vite.config.ts

20 lines425 Bytes

1import { tanstackStart } from '@tanstack/react-start/plugin/vite'
2import { defineConfig } from 'vite'
3import tsConfigPaths from 'vite-tsconfig-paths'
4import viteReact from '@vitejs/plugin-react'
5​
6export default defineConfig({
7 server: {
8 port: 3000,
9 },
10 ssr: {
11 noExternal: ['@mui/*'],
12 },
13 plugins: [
14 tsConfigPaths({
15 projects: ['./tsconfig.json'],
16 }),
17 tanstackStart(),
18 viteReact(),
19 ],
20})