Merge goalie-tester worktree: modes, 3v3 goalies, OOB faceoffs, CF deploy.
Bring main menu (1v1/3v3), scrimmage with nets and goalies, dead-puck whistles at the nearest faceoff circle, skater board re-entry, and Cloudflare Workers/Pages deploy config. Keep main jersey gear stack and compact goalie floaters.
This commit is contained in:
@@ -1,12 +1,20 @@
|
||||
import { resolve } from 'node:path';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
server: { port: 5174, open: true },
|
||||
// Multi-page: main game + character studio both ship as real HTML entries.
|
||||
build: {
|
||||
target: 'es2022',
|
||||
// The body/skin generators are one deterministic chunk; splitting them buys
|
||||
// nothing and costs a round trip before anything can render.
|
||||
chunkSizeWarningLimit: 2500,
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(import.meta.dirname, 'index.html'),
|
||||
character: resolve(import.meta.dirname, 'character.html'),
|
||||
},
|
||||
},
|
||||
},
|
||||
// box3d.js ships an Emscripten bundle that resolves its .wasm via
|
||||
// import.meta.url. Pre-bundling rewrites that URL and breaks the lookup, so
|
||||
|
||||
Reference in New Issue
Block a user