Files
memind/ops/vite.config.ts
T
John 2e14873f2d Initial commit: Memind H5 portal with MindSpace, Plaza, and agent jobs.
Track application source and tests; exclude local env, user workspaces, and runtime data via .gitignore.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 15:04:43 -07:00

21 lines
386 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
const apiProxy = process.env.OPS_API_PROXY ?? 'http://127.0.0.1:8081';
export default defineConfig({
base: '/ops/',
plugins: [react()],
server: {
port: 3002,
proxy: {
'/api': apiProxy,
'/auth': apiProxy,
},
},
build: {
outDir: 'dist',
emptyOutDir: true,
},
});