import { defineConfig } from 'vite'; export default defineConfig({ root: 'client', build: { outDir: 'dist', target: 'es2022', chunkSizeWarningLimit: 650 }, server: { port: 5175, strictPort: true, proxy: { '/api': 'http://127.0.0.1:18080', '/auth': 'http://127.0.0.1:18080', '/ws': { target: 'ws://127.0.0.1:18080', ws: true } }, }, });