Skip to content

Support ESM #10

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

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Support ESM #10

merged 2 commits into from
Feb 23, 2023

Conversation

scottrippey
Copy link
Owner

What

  • Adds ESM output to package.
  • Updates TS target to ES2020. Basically, fat arrow functions are no longer converted

Replaces #9

@scottrippey
Copy link
Owner Author

@shkreios Please let me know if you think this PR solves the problem (#9)! Thanks for your suggestion and help!

@shkreios
Copy link
Contributor

@scottrippey yes it does. Thank you very much.

@scottrippey scottrippey merged commit 19e76a3 into main Feb 23, 2023
@scottrippey scottrippey deleted the esm branch February 23, 2023 03:11
@scottrippey
Copy link
Owner Author

Published as 0.9.4, please verify it works! Thanks :)

@shkreios
Copy link
Contributor

@scottrippey Works perfectly thanks

@scottrippey
Copy link
Owner Author

@shkreios This change caused a problem with React 17. I'm proposing a fix in #12, will you take a look?

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.

2 participants