import path from "path" import react from "@vitejs/plugin-react" import { defineConfig } from "vite" export default defineConfig({ plugins: [react()], resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, define: { __API_BASE_URL__: JSON.stringify(process.env.VITE_API_BASE_URL || "http://localhost:5174"), }, server: { host: "0.0.0.0", port: 7860, allowedHosts: [ "seonglae-corrsteer.hf.space" ] }, })