TypeError: Cannot read property 'type' of undefined
59naga opened this issue · 0 comments
59naga commented
if (path.get("argument.callee.type").node !== "Import") {
https://github.com/59naga/babel-plugin-transform-dynamic-import-default/blob/v0.0.3/index.mjs#L4
Since calle doesn't exist in the following syntax, path.get
of babel fails.
(async resolve => {
const first = await firstFulfilled
if (first !== client) {
client.disconnect()
}
})()