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
Using dual package which exports both CommonJS and ES modules can be problematic as described.
If CommonJS modules could require() ES modules, both CommonJS modules and ES modules could always use the same ES modules in dual package and the problem should not occur.
I would like to know the reason why this is not possible.