// vite.config.ts import { defineConfig } from 'vite'; import solidPlugin from 'vite-plugin-solid'; import { fileURLToPath } from 'node:url'; export default defineConfig({ server: { proxy: { '/socket.io': { target: 'http://localhost', changeOrigin: true, ws: true } } }, plugins: [solidPlugin()], resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } } });