From 7a3a349bb31187e5d66ad396bd6fc897706da780 Mon Sep 17 00:00:00 2001 From: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com> Date: Sun, 1 Jun 2025 15:03:18 -0700 Subject: [PATCH] proxy bindable props --- .../phases/3-transform/client/visitors/VariableDeclaration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js b/packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js index 1e29cb2d06..eed4f793e6 100644 --- a/packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js +++ b/packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js @@ -90,7 +90,7 @@ export function VariableDeclaration(node, context) { binding.kind === 'bindable_prop' && should_proxy(initial, context.state.scope) ) { - initial = b.call('$.proxy', initial); + initial = b.call('$.proxy', initial, dev ? b.literal(id.name) : undefined, dev ? b.literal(PROXY_REMOVE_PATH) : undefined); } if (is_prop_source(binding, context.state)) {