chore: drop stale bindings.svelte.ts from sideEffects allowlist

bindings.svelte.ts no longer has a top-level side effect: the $effect.root
bridge was moved into startFilterBindings(), wired explicitly by the
app-layer AppBindings provider (onMount). Nothing imports it
side-effect-only anymore, so the allowlist entry falsely marked a now-pure
module as impure. Stores and queryClient are lazy getX() accessors, so they
correctly need no entry either.

Allowlist is now just *.css (style injection) and **/router.ts
(createRouter at eval). Verified: production build succeeds and
startFilterBindings is retained as a used export.
This commit is contained in:
Ilia Mashkov
2026-06-02 23:34:08 +03:00
parent 1c6427c586
commit 028853aff5
+1 -2
View File
@@ -6,8 +6,7 @@
"type": "module", "type": "module",
"sideEffects": [ "sideEffects": [
"*.css", "*.css",
"**/router.ts", "**/router.ts"
"**/bindings.svelte.ts"
], ],
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",