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

use ES modules #34

Merged
merged 1 commit into from
Oct 27, 2024
Merged

use ES modules #34

merged 1 commit into from
Oct 27, 2024

Conversation

davidchambers
Copy link
Member

sanctuary-js/sanctuary#726

This is the most significant line of the pull request:

export {Useless};

I used a named export rather than a default export to make this package, which exports one data constructor, consistent with packages that export multiple data constructors. In other words, the export is named Useless rather than default.

@davidchambers davidchambers merged commit 91705f7 into main Oct 27, 2024
3 checks passed
@davidchambers davidchambers deleted the davidchambers/esm branch October 27, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants