-
Notifications
You must be signed in to change notification settings - Fork 275
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
Guide for generating nexus in ESM #1155
Comments
Use esbuild to compile it first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Thanks for awesome library
nexus
. I've been using this for many years now.Today, I am looking to upgrade our project to ESM and I am stuck in error when generating nexus.
It shows the below error.
And this is because I change the type to
module
inpackage.json
. This error can be found in https://stackoverflow.com/questions/63386054/typeerror-err-unknown-file-extension-unknown-file-extension-ts-on-visual-s.I tried to look over the document in the repo but I can't find anywhere to generate nexus safely when
type: module
is on.I hope I can get help on setting up
nexus
with ESM!Thanks in advance.
The text was updated successfully, but these errors were encountered: