// frontend\vite.config.ts import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import path from 'path' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [react(), tailwindcss()], build: { outDir: path.resolve(__dirname, '../backend/web/dist'), emptyOutDir: true, }, server: { host: true, // oder '0.0.0.0' proxy: { "/api": { target: "http://localhost:9999", changeOrigin: true, secure: false, ws: true }, }, } })