import { mount } from "svelte"; import App from "./App.svelte"; import "./styles/globals.css"; const root = document.getElementById("app"); if (!root) throw new Error("missing #app"); const app = mount(App, { target: root }); export default app;