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

vite.config.ts

16 lines357 Bytes

1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3import tsconfigPaths from 'vite-tsconfig-paths'
4import tailwind from '@tailwindcss/vite'
5​
6export default defineConfig({
7 plugins: [react(), tsconfigPaths(), tailwind()],
8 server: {
9 open: true,
10 port: 3000,
11 },
12 build: {
13 outDir: 'dist',
14 sourcemap: true,
15 },
16})