import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { host: true, port: 3000, strictPort: true, allowedHosts: ['sasaprod', 'localhost', 'members.sasalliance.org'], watch: { usePolling: true }, hmr: { clientPort: 3500 }, proxy: { '/api': { target: 'http://backend:8000', changeOrigin: true } } } })