diff --git a/packages/babel-plugin-jsx/src/transform-vue-jsx.ts b/packages/babel-plugin-jsx/src/transform-vue-jsx.ts index 6e98d8f..a976ae4 100644 --- a/packages/babel-plugin-jsx/src/transform-vue-jsx.ts +++ b/packages/babel-plugin-jsx/src/transform-vue-jsx.ts @@ -10,7 +10,6 @@ import { getJSXAttributeName, transformJSXText, transformJSXExpressionContainer, - isFragment, walksScope, } from './utils'; import parseDirectives from './parseDirectives'; @@ -123,10 +122,6 @@ const buildProps = (path: NodePath, state: State) => { let slots: t.Identifier | t.Expression | null = null; let patchFlag = 0; - if (isFragment(path.get('openingElement').get('name'))) { - patchFlag |= PatchFlags.STABLE_FRAGMENT; - } - if (props.length === 0) { return { tag, @@ -239,8 +234,6 @@ const buildProps = (path: NodePath, state: State) => { } } - console.log(value) - if (directiveName === 'model' && value) { properties.push(t.objectProperty( t.stringLiteral(`onUpdate:${propName}`),