You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #4366 I found a few CJS->ESM interop issues with the existing scope hoisting transformer and namespace imports. For now, I've followed them in the non-scope hoisting modules transformer, but we should do a full sweep and compare our output with Babel and Node.
🐛 bug report
While working on #4366 I found a few CJS->ESM interop issues with the existing scope hoisting transformer and namespace imports. For now, I've followed them in the non-scope hoisting modules transformer, but we should do a full sweep and compare our output with Babel and Node.
{default: class {}}
{default: class {}}
class {}
{foo: 2, default: {foo: 2, default: 3}}
{default: {foo: 2, default: 3}}
{foo: 2, default: 3}
There are probably more cases too. See https://sokra.github.io/interop-test/.
The text was updated successfully, but these errors were encountered: