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

Package strategy (get to ESM without breaking other consumers) #9

Closed
rosskevin opened this issue Jun 18, 2022 · 0 comments
Closed

Package strategy (get to ESM without breaking other consumers) #9

rosskevin opened this issue Jun 18, 2022 · 0 comments

Comments

@rosskevin
Copy link
Owner

I'm interested in hearing from others about package/bundle strategies. Ideally I'd like to publish a UMD, an ES, and ESM so everyone can benefit. Currently I cannot use this library as ESM only because I have at least one dependency that is not ESM. @see microsoft/TypeScript#49388 (comment)

Perhaps we just keep 3.x as ES, and make 4.x as ESM and add the proper exports sindresorhus as has done sindresorhus/meta#15

I welcome thoughts on the issue.

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

1 participant