import { defineConfig } from 'vite'; import { resolve } from 'path'; export default defineConfig({ root: 'client', publicDir: 'public', build: { outDir: '../dist', emptyOutDir: true }, server: { port: 5173, proxy: { '/api': 'http://localhost:3000', '/v1': 'http://localhost:3000', '/ws': { target: 'ws://localhost:3000', ws: true } } } });