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

Support es modules #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Support es modules #18

wants to merge 5 commits into from

Conversation

gingerbenw
Copy link
Member

@gingerbenw gingerbenw commented Feb 4, 2025

Add es modules and appropriate exports so package can be used in project which require esm syntax.

Uses rollup v2 to maintain node12 support, but could also separate out the build and test step to use a newer version

@gingerbenw gingerbenw requested a review from djskinner February 4, 2025 09:19
@djskinner
Copy link

hmm, even though its not that much code but still doesn't seem ideal to maintain two copies of the source code that need to be manually synced. Can't we write the source code once and transpile accordingly with rollup as we are doing with the other packages?

@gingerbenw
Copy link
Member Author

gingerbenw commented Feb 4, 2025

@djskinner yes we can! refactored.

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