Scaffold pinned Svelte frontend toolchain

Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
This commit is contained in:
ms2k 2026-07-17 22:53:39 +09:00
commit 84ccfdb445

10
web/src/main.ts Normal file
View file

@ -0,0 +1,10 @@
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 });