-
Notifications
You must be signed in to change notification settings - Fork 30
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
@rescript/core does not support ESM. #220
Comments
You need to set the file extension to |
@jderochervlk Thank you. You've saved me time. |
now that core is part of the compiler I guess we can close this one. |
When I compile rescript into JavaScript and have Node.js run it, I found that the
@rescript/core
was not set as a esmodule. When I manually changed thepackage.json
in thecore
totype: module
, everything worked properly.The text was updated successfully, but these errors were encountered: