PolyCity v1.0 — full-featured 3D city-builder (Three.js + Vite)
- Procedural island maps, RCI zoning, demand-driven growth - City-wide power grid with brownouts; wind coastal bonus - Land value, upgrades, services, pollution, fires & fire spread - Budget/taxes, happiness, milestones, quest onboarding - Traffic agents, day/night cycle, adaptive render scale - Saves: autosave + 3 slots + JSON export/import - PWA (offline), GitHub Pages/Netlify deploy configs - Tests: 40-assertion engine suite + headless E2E
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
// Relative base so the built game works on GitHub Pages, Netlify, itch.io,
|
||||
// any sub-path hosting, and even straight from the local filesystem.
|
||||
base: './',
|
||||
build: {
|
||||
target: 'es2020',
|
||||
outDir: 'dist',
|
||||
assetsInlineLimit: 8192,
|
||||
chunkSizeWarningLimit: 1200
|
||||
},
|
||||
server: {
|
||||
port: 5173,
|
||||
host: true
|
||||
},
|
||||
preview: {
|
||||
port: 4173,
|
||||
host: true
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user