-
Notifications
You must be signed in to change notification settings - Fork 177
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
Publish native ES module #298
Comments
Update: created repo showing Node being unable to import the This commit in my repo localISOdt shows how to add .mjs support:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Maybe this should be tabled until October, when the |
Sounds like a good plan to me. I don't see much point in developing on experimental node flags for node-influx for the time being. Happily accept a PR later along the line though. Closing for now. |
Any chance to have TypeScript with |
Great, yes! Please submit a PR |
Node v8.5.0 has just added experimental support for modules behind a flag, and now compliant modules can be imported directly, without any transpiler, if they have the
.mjs
extension.By omitting the extension in the
main
field ofpackage.json
, the module will be compatible with Node pre 8.5.0.The text was updated successfully, but these errors were encountered: