import react from "@vitejs/plugin-react" import path from "node:path" import { defineConfig } from "vite" export default defineConfig({ plugins: [react()], resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, server: { proxy: { "/api": "http://localhost:8000", "/feed": "http://localhost:8000", }, }, })