From 4d66a0334a24858d6b90dd3bab4b3f9c2e508554 Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Sun, 13 Oct 2024 20:26:11 +0100 Subject: [PATCH] fix(runtime-core): use feature flag for call to resolveMergedOptions --- packages/runtime-core/src/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 939f5a401f0..3ed42ed0b55 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -1006,7 +1006,7 @@ export function finishComponentSetup( instance.vnode.props && instance.vnode.props['inline-template']) || Component.template || - resolveMergedOptions(instance).template + (__FEATURE_OPTIONS_API__ && resolveMergedOptions(instance).template) if (template) { if (__DEV__) { startMeasure(instance, `compile`)