Skip to content

Commit 20be1a0

Browse files
committed
feat(macros): use vue-jsx-vapor/runtime to support browser environments
1 parent bdd3613 commit 20be1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/macros/src/core/define-expose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ export function transformDefineExpose(
88
s.overwriteNode(node.callee, ';')
99
s.appendRight(
1010
node.arguments[0]?.start || node.end! - 1,
11-
`${importHelperFn(s, 0, 'getCurrentInstance', undefined, 'vue-jsx-vapor')}().exposed = `,
11+
`${importHelperFn(s, 0, 'getCurrentInstance', undefined, 'vue-jsx-vapor/runtime')}().exposed = `,
1212
)
1313
}

0 commit comments

Comments
 (0)