Skip to content

Commit

Permalink
fix(mini-runner): 修复 @babel/parser 与 acron 关于动态 import() 解析类型不一致导致的报错
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchangming authored and Chen-jj committed Apr 25, 2022
1 parent fc2dd98 commit 3c44bd3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export default class TaroNormalModulesPlugin {
.filter(p => p.type === 'Property' && p.key.type === 'Identifier' && p.key.name !== 'children')
.forEach(p => attrs.add(p.key.name))
}
}, {
...walk.base, Import: () => {}
})
})
})
Expand Down

0 comments on commit 3c44bd3

Please sign in to comment.