atagen

malice

public
Star0
Watch0
db526ad90ce25d51e848525fa1f3b04eee4496d3
2
ssh://brewery@pls.lobotomise.me:33/atagen/malice.git

Blame: web/src/main.ts

973f8fbdaf80atagen2026-09-28 09:10 UTC1
import './app.css';
dffd63b58af4atagen2026-09-28 09:10 UTC2
import { mount } from 'svelte';
973f8fbdaf80atagen2026-09-28 09:10 UTC3
import App from './App.svelte';
d8772d4eb408atagen2026-10-26 04:43 UTC4
import { registerServiceWorker } from './lib/sw-register';
0e50e0d137afatagen2026-10-26 05:50 UTC5
import { trackKeyboardInset } from './lib/viewport';
973f8fbdaf80atagen2026-09-28 09:10 UTC6
973f8fbdaf80atagen2026-09-28 09:10 UTC7
const target = document.getElementById('app');
973f8fbdaf80atagen2026-09-28 09:10 UTC8
if (!target) throw new Error('#app element missing');
d8772d4eb408atagen2026-10-26 04:43 UTC9
registerServiceWorker();
0e50e0d137afatagen2026-10-26 05:50 UTC10
trackKeyboardInset();
dffd63b58af4atagen2026-09-28 09:10 UTC11
const app = mount(App, { target });
973f8fbdaf80atagen2026-09-28 09:10 UTC12
973f8fbdaf80atagen2026-09-28 09:10 UTC13
export default app;