boring.tools-poc/apps/app/vite.config.ts

17 lines
375 B
TypeScript

import { TanStackRouterVite } from '@tanstack/router-plugin/vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 4000,
},
build: {
outDir: '../../build/app',
emptyOutDir: true,
sourcemap: true,
},
plugins: [TanStackRouterVite(), react()],
})