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.
Try deleting node_modules and reinstalling everything fresh. It sounds like a webpack bug and not a problem with this lib because I can import on CodeSandbox/CRA just fine
I'm going to have to close this because it's not a problem with this library, it's an environment/bundler issue. A fully reproducing link is required to debug this fruther.
In case anyone else is having this issue after updating their webpack config's resolve.modules entry, make it sure contains the plain "node_modules" so that webpack can resolve dependencies using node_modules embedded in package. The node_modules embedding happens when a package depends on a different version of a package that already exists in the root node_modules