From ad56847ce9dfae2401723c0b9318ad11238a6f9a Mon Sep 17 00:00:00 2001 From: paoloricciuti Date: Fri, 21 Mar 2025 09:29:08 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20silly=20goose=20am=20i=20=F0=9F=AA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/compiler/phases/3-transform/client/transform-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte/src/compiler/phases/3-transform/client/transform-client.js b/packages/svelte/src/compiler/phases/3-transform/client/transform-client.js index 8016c82873..0481621ce1 100644 --- a/packages/svelte/src/compiler/phases/3-transform/client/transform-client.js +++ b/packages/svelte/src/compiler/phases/3-transform/client/transform-client.js @@ -167,7 +167,7 @@ export function client_component(analysis, options) { in_constructor: false, instance_level_snippets: [], module_level_snippets: [], - is_functional_template_mode: true, //options.templatingMode === 'functional', + is_functional_template_mode: options.templatingMode === 'functional', // these are set inside the `Fragment` visitor, and cannot be used until then init: /** @type {any} */ (null),