Vite base=/vinylgauntlet/ and Phaser assets load from BASE_URL so they resolve under the subpath. deploy.sh builds and ships dist/ into the forum-nginx container (humanjing@100.71.119.27), same pattern as the other partly.party games. Verified live: 200, game HTML + sprites serving, renders in-browser. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
7 lines
187 B
JavaScript
7 lines
187 B
JavaScript
import { defineConfig } from 'vite';
|
|
|
|
// Served from a subpath on partly.party, so assets must resolve under /vinylgauntlet/.
|
|
export default defineConfig({
|
|
base: '/vinylgauntlet/',
|
|
});
|