-
Notifications
You must be signed in to change notification settings - Fork 25
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
add support for use as an ESM module #13
Comments
I'm doing this currently (adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All you would have to do is prepend
export default
to the main file and it would me much easier to use with npm managed projects. you could name it 'q5.esm.js' or something, but I would recommend pointing thepackage.json
main
filed to this version and it would work out of the box with node.The text was updated successfully, but these errors were encountered: