build(deps): upgrade web to SvelteKit 3 and vitest 5

Move the SvelteKit config into vite.config.js, replace the $lib alias with
#lib subpath imports (dropping the vitest alias), extend $app/tsconfig, and
pass asset() paths without a leading slash. Drop the @babel/core and js-yaml
overrides, which no longer match anything in the tree.
This commit is contained in:
tiennm99 committed 2026-10-03 13:12:03 +07:00
1 parent 3c622d7efb
commit 3584d897c1
16 files changed
+141 -266

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import {
loadUnlimitedStats,
saveUnlimitedStats,
submitGuess,
} from "$lib/game-engine";
} from "#lib/game-engine.js";
import { AATROX, AHRI } from "./fixtures/champions";
/** Minimal stand-in for compareChampions — the engine only stores what this returns. */