Skip to content

Commit a6ca304

Browse files
committed
fix: v-slots should not import resolveDirective
1 parent b4f9f1b commit a6ca304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/babel-plugin-jsx/src/parseDirectives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const parseDirectives = (params: {
8181
}
8282

8383
const shouldResolve =
84-
!['html', 'text', 'model', 'models'].includes(directiveName) ||
84+
!['html', 'text', 'model', 'slots', 'models'].includes(directiveName) ||
8585
(isVModel && !isComponent);
8686

8787
let modifiers = directiveModifiers;

0 commit comments

Comments
 (0)