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:
+1
-2
@@ -6,8 +6,7 @@
|
||||
"type": "module",
|
||||
"sideEffects": [
|
||||
"*.css",
|
||||
"**/router.ts",
|
||||
"**/bindings.svelte.ts"
|
||||
"**/router.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user