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

ESM exports #29

Open
ioanlucut opened this issue Jun 1, 2020 · 1 comment
Open

ESM exports #29

ioanlucut opened this issue Jun 1, 2020 · 1 comment

Comments

@ioanlucut
Copy link

Hello!

Thank you for the library.
In order to make the tree shaking (statelyai/xstate#474) work with this library, the hook needs to be export as ESM as well, not only CJS.

What do you think?
Thank you!

@carloslfu
Copy link
Owner

Hi @ioanlucut. Having this library exported to ESM would be great.

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

No branches or pull requests

2 participants