- Server-authoritative Node/WS server: sessions, zones (town + instanced homes + public venue interiors), NPC routines, economy, relationships, persistence - TypeScript + Three.js client: character creator, Maple Court district, enterable venues (café, city hall, gym, store, arcade), build mode with 58-item furniture catalog, needs/mood systems, phone UI, day/night + weather, procedural audio - Verified by two-client e2e protocol suite and headless-browser walkthrough
22 lines
377 B
TypeScript
22 lines
377 B
TypeScript
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
root: 'client',
|
|
base: './',
|
|
build: {
|
|
target: 'es2020',
|
|
chunkSizeWarningLimit: 1600,
|
|
rollupOptions: {
|
|
output: {
|
|
manualChunks: { three: ['three'] }
|
|
}
|
|
}
|
|
},
|
|
server: {
|
|
port: 5199,
|
|
proxy: {
|
|
'/ws': { target: 'ws://127.0.0.1:7788', ws: true }
|
|
}
|
|
}
|
|
});
|