Standalone binary embeds the frontend, avoiding the dev-server dependency that made the window fail to load. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
import { mount } from 'svelte';
|
|
import './app.css';
|
|
import App from './App.svelte';
|
|
|
|
const target = document.getElementById('app');
|
|
if (!target) throw new Error('#app mount point missing from index.html');
|
|
|
|
export default mount(App, { target });
|