-
Notifications
You must be signed in to change notification settings - Fork 26
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
Update build, export real ESM #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Random comments, but this looks good to me. I tested it in a random small project with storybook and didn't find any issues. When I get more time later, I'll try it in something bigger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
BREAKING CHANGE: exports native esm modules and removes the index file in favor of sub imports
This updates the build, test suite, etc to check for react 19 support and changes the output so that it produces true, native esm that can be used in node without compilation. Continues to provide the cjs build as well.