Open History to see the last commit
1import { defineConfig } from 'vite'
2import { tanstackStart } from '@tanstack/react-start/plugin/vite'
3import viteReact from '@vitejs/plugin-react'
4import tailwindcss from '@tailwindcss/vite'
5import { getStartModeConfig } from './start-mode-config'
6β
7const outDir = process.env.E2E_DIST_DIR ?? 'dist'
8const startModeConfig = getStartModeConfig()
9β
10export default defineConfig({
11 resolve: { tsconfigPaths: true },
12 build: {
13 outDir,
14 },
15 server: {
16 port: 3000,
17 },
18 plugins: [tailwindcss(), tanstackStart(startModeConfig), viteReact()],
19})