From 028853aff564a2e0f08fa617a941e4ed8bf42643 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Tue, 2 Jun 2026 23:34:08 +0300 Subject: [PATCH] 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. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 3a2299d..f9f5b58 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,7 @@ "type": "module", "sideEffects": [ "*.css", - "**/router.ts", - "**/bindings.svelte.ts" + "**/router.ts" ], "scripts": { "dev": "vite",