7d8fd9f251
- Created Mode2Svelte as a copy of Mode1Svelte - Updated branding (title, description) to distinguish from Mode1Svelte - Added Mode2Svelte support to orchestrator - Configured orchestrator to spawn Mode2Svelte with Node.js adapter - Set Mode2Svelte as active mode in activeMode.txt - Built production bundle for Mode2Svelte - Both Mode1Svelte and Mode2Svelte now managed by orchestrator on port 3005 - Orchestrator controls which mode runs via activeMode.txt configuration
16 lines
339 B
TypeScript
16 lines
339 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit()],
|
|
build: {
|
|
// Ensure asset paths are relative, not absolute
|
|
// This fixes proxy routing issues
|
|
rollupOptions: {
|
|
output: {
|
|
assetFileNames: 'assets/[name]-[hash][extname]'
|
|
}
|
|
}
|
|
}
|
|
});
|