Simplify order landing and switch Vite config to ESM

This commit is contained in:
Zeeshaun
2026-05-05 20:42:34 +00:00
parent 682b24259d
commit 661133002f
3 changed files with 2 additions and 57 deletions
+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
root: "client",
plugins: [react()],
server: {
port: 5173,
proxy: {
"/api": "http://localhost:4000"
}
},
build: {
outDir: "dist",
emptyOutDir: true
}
});