feat: project scaffold — Vite + React + TS + test setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-30 00:06:14 +00:00
parent f4fab89809
commit 6e83b16c4b
6 changed files with 123 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
root: 'client',
plugins: [react()],
build: {
outDir: 'dist',
emptyOutDir: true,
},
server: {
port: 5173,
proxy: {
'/api': 'http://localhost:3001',
},
},
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['src/test-setup.ts'],
},
})