Skip to content
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 cjs/esm compatibility #15

Merged
merged 1 commit into from
Aug 21, 2021
Merged

Conversation

EnderShadow8
Copy link
Contributor

Fixes #3 and #13

Adds an optional module.exports CJS export which can also be comsumed by both CJS require and ESM import.

@LingDong- LingDong- merged commit 67f93c6 into LingDong-:master Aug 21, 2021
@EnderShadow8
Copy link
Contributor Author

@LingDong- You'll need to publish the new version to npm as well. Thanks

@EnderShadow8
Copy link
Contributor Author

Hi @LingDong-

It seems like the new changes have not been reflected in the 0.0.4 npm release, and my bundler is rejecting the import. Could you fix this?

Thanks

@LingDong-
Copy link
Owner

sorry about that! my mistake. Just published 0.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish to npm?
2 participants