This repository has been archived on 2026-08-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pi-web/vite.config.ts
T

17 lines
302 B
TypeScript

import { defineConfig } from "vite";
export default defineConfig({
root: "src/client",
build: {
outDir: "../../dist/client",
emptyOutDir: true,
},
server: {
port: 5173,
strictPort: true,
proxy: {
"/api": { target: "http://localhost:3000", ws: true },
},
},
});