Files
Agent-Workbench/vite.config.ts
T
2026-10-31 17:53:15 +08:00

9 lines
394 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { resolve } from 'node:path';
export default defineConfig({
plugins: [react()],
build: { outDir: 'dist-client', sourcemap: false, manifest: true, rollupOptions: { input: { desktop: resolve('index.html'), mobile: resolve('mobile.html') } } },
server: { proxy: { '/api': 'http://127.0.0.1:4318' } },
});