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

vite.config.ts

17 lines388 Bytes

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