Establish the TypeScript 7, Oxlint, Vitest, and Playwright workspace with an isolated Svelte diagnostics compatibility boundary.
11 lines
226 B
TypeScript
11 lines
226 B
TypeScript
import { mount } from 'svelte'
|
|
|
|
import App from './App.svelte'
|
|
|
|
const target = document.querySelector<HTMLElement>('#app')
|
|
|
|
if (target === null) {
|
|
throw new Error('missing application mount point')
|
|
}
|
|
|
|
mount(App, { target })
|