Skip to content

Commit a056f95

Browse files
committed
chore: add comment
1 parent eeec3da commit a056f95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugin-vue-jsx/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ function vueJsxPlugin(options: Options = {}): Plugin {
167167
const declaration = _path.node
168168
.declaration as types.CallExpression
169169
const nodesPath = _path.replaceWithMultiple([
170+
// const __default__ = defineComponent(...)
170171
types.variableDeclaration('const', [
171172
types.variableDeclarator(
172173
types.identifier('__default__'),
@@ -176,6 +177,7 @@ function vueJsxPlugin(options: Options = {}): Plugin {
176177
),
177178
),
178179
]),
180+
// export default __default__
179181
types.exportDefaultDeclaration(
180182
types.identifier('__default__'),
181183
),

0 commit comments

Comments
 (0)