Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
10 lines
217 B
TypeScript
10 lines
217 B
TypeScript
import { mount } from 'svelte';
|
|
import App from './App.svelte';
|
|
|
|
const target = document.getElementById('app');
|
|
|
|
if (target === null) {
|
|
throw new Error('Missing application mount point');
|
|
}
|
|
|
|
mount(App, { target });
|