Add Mode1Svelte - independent copy of Mode1 for future SvelteKit integration

- Created Mode1Svelte as complete standalone project
- Identical to Mode1 currently (Hono backend + Vite frontend)
- Separate auth-module copy (no dependencies on Mode1)
- Updated orchestrator to default to Mode1Svelte
- Both Mode1 and Mode1Svelte are independent and interchangeable via ModeSwitch
- Ready for gradual Svelte/SvelteKit migration while maintaining API compatibility
This commit is contained in:
2026-01-22 05:53:15 +00:00
parent 1fdc87f7f4
commit 5a4a3c51e9
12 changed files with 1967 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from 'vite';
export default defineConfig({
build: {
outDir: 'frontend/dist',
emptyOutDir: true,
lib: {
entry: 'frontend/auth.ts',
name: 'AuthModule',
fileName: () => 'auth.js',
formats: ['umd']
}
},
server: {
middlewareMode: true
}
});