- Scene2D pixel tavern (replaces three.js 3D scene) - amerc-api: node:http+node:sqlite+node:crypto, auth/admin/docs/files/boards - docs.amerc.ai + pm.amerc.ai (whiteboard mindmap + netdisk) apps - agent API keys for fleet read/write Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
475 B
JavaScript
21 lines
475 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
const apiProxy = { '/api': { target: process.env.AMERC_API || 'http://127.0.0.1:5180', changeOrigin: true } };
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: { proxy: apiProxy },
|
|
preview: { proxy: apiProxy },
|
|
build: {
|
|
chunkSizeWarningLimit: 800,
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: {
|
|
three: ['three'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|