From 436c500d2c418930652fededc4882540dcd0c987 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 12 Feb 2022 16:18:54 +0800 Subject: [PATCH] fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives --- packages/compiler-ssr/src/transforms/ssrTransformElement.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/compiler-ssr/src/transforms/ssrTransformElement.ts b/packages/compiler-ssr/src/transforms/ssrTransformElement.ts index 08b7f4ad..32991ed8 100644 --- a/packages/compiler-ssr/src/transforms/ssrTransformElement.ts +++ b/packages/compiler-ssr/src/transforms/ssrTransformElement.ts @@ -338,7 +338,6 @@ export function buildSSRProps( } if (directives.length) { for (const dir of directives) { - context.directives.add(dir.name) mergePropsArgs.push( createCallExpression(context.helper(SSR_GET_DIRECTIVE_PROPS), [ `_ctx`,