Skip to content

Commit 88c9356

Browse files
wip(core): vue2 support, fix "not id of a Declaration" in shouldPrependVm()
1 parent c284d63 commit 88c9356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/fakeBuble.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function transform(source, opts) {
6666
if (
6767

6868
// not id of a Declaration
69-
!(isDeclaration(identifier.parent.type) && identifier.parent.id === identifier) &&
69+
!(isDeclaration(identifier.parent.type) && identifier.parent.id === identifier.node) &&
7070

7171
// not a params of a function
7272
!(isFunction(identifier.parent.type) && identifier.parent.params.indexOf(identifier.node) > -1) &&

0 commit comments

Comments
 (0)