diff --git a/packages/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js b/packages/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js index 88c04bc866..71524b539a 100644 --- a/packages/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js +++ b/packages/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js @@ -276,7 +276,11 @@ export const javascript_visitors_runes = { /** @type {import('estree').Expression} */ (visit(binding.initial)); // We're adding proxy here on demand and not within the prop runtime function so that // people not using proxied state anywhere in their code don't have to pay the additional bundle size cost - if (initial && binding.kind === 'bindable_prop' && should_proxy_or_freeze(initial, state.scope)) { + if ( + initial && + binding.kind === 'bindable_prop' && + should_proxy_or_freeze(initial, state.scope) + ) { initial = b.call('$.proxy', initial); }