-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No exports defined error with Next.js TS config #7
Comments
See discussion on PR #8. Something in some people's pipeline is trying to load this module as CJS even though it's ESM only. Based on other people's experiences, using The fix suggested by @victorteokw above (adding Whatever the underlying issue is likely needs to be reported and fixed in other tools, but I'm open to other suggestions for how |
This is assumed to be fixed by v2.0.0, which added a CommonJS bundle. |
When use this with Next.js TypeScript config, this module cannot be found.
By add one line in package.json fixes this problem.
The text was updated successfully, but these errors were encountered: