chore: upgrade to svelte 5 and vite 8

Svelte 4.2 to 5.56, Vite 5 to 8, vite-plugin-svelte 3 to 7. The old tree
wouldn't resolve incrementally, because a stale vite-plugin-svelte-inspector
pinned the v3 peer, so this is a clean reinstall.

Clears all 7 npm audit advisories, including a high-severity Rollup path
traversal.

Reactivity moves to runes: $state, $derived, $effect. Event directives
become properties, and main.js uses mount().

Also drops inputElement, a bind:this target nothing ever read.
This commit is contained in:
Aculix Technologies
2026-08-15 23:59:28 +05:30
parent 50509a9cc1
commit 4857f1cc26
4 changed files with 270 additions and 1553 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
import { mount } from 'svelte';
import App from './App.svelte';
const app = new App({
export default mount(App, {
target: document.getElementById('app'),
});
export default app;