import { mount } from "svelte"; import { invoke } from "@tauri-apps/api/core"; import App from "./App.svelte"; import "./app.css"; const target = document.getElementById("app"); if (!target) { throw new Error("App target element was not found."); } const app = mount(App, { target }); void invoke("close_splashscreen").catch(() => { // Browser preview and failed startup paths should keep working without Tauri. }); export default app;