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

Publish as CommonJS module #425

Merged
merged 1 commit into from
Mar 21, 2023
Merged

Publish as CommonJS module #425

merged 1 commit into from
Mar 21, 2023

Conversation

amacneil
Copy link
Owner

Exporting an ESM package is difficult for CommonJS consumers, and the benefits of using ESM are minimal since we only target Node.js.

Therefore, we export a CommonJS package instead (which will still work fine for all ESM Node.js consumers).

@amacneil amacneil changed the title Switch to CommonJS output Publish CommonJS module Mar 21, 2023
@amacneil amacneil changed the title Publish CommonJS module Publish as CommonJS module Mar 21, 2023
@amacneil amacneil merged commit 210f602 into main Mar 21, 2023
@amacneil amacneil deleted the adrian/commonjs branch March 21, 2023 22:29
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.

None yet

1 participant