-
Notifications
You must be signed in to change notification settings - Fork 45
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
Cannot Import ES Module #641
Comments
@archy-bold @p-kuen I think there are more things to do to fully support esm modules. I believe
I think there is no point in supporting esm in nexus-prisma until nexus, and prisma will implement such support as well. Feel free to share your thoughts about this. |
Created discussion #693 to follow up on this topic. I'll prepare fix to remove esm build. |
🎉 This issue has been resolved in version 1.0.18 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
I'm getting an error when importing nexus-prisma from an ES module project.
Repro Steps/Link
Import from a
"type": "module"
TypeScript project.A possible workaround is to force require the cjs entrypoint.
The text was updated successfully, but these errors were encountered: