import react from '@vitejs/plugin-react' import { defineConfig } from 'vite' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], server: { // Forward API requests (including the websocket) to a locally running game server. proxy: { '/api': { target: process.env.WIZARD_SERVER_URL ?? 'http://localhost:8000', ws: true, }, }, }, })