import './style.css' import App from './App.svelte' import { i18nInit } from './lib/i18n/i18n' const element = document.getElementById('app') if (!element) throw new Error('Could not find app element') // Initialize app after i18n is ready const appPromise = i18nInit.then(() => { return new App({ target: element }) }) export default appPromise