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

ESM + types fix #105

Merged
merged 3 commits into from Jul 20, 2023
Merged

ESM + types fix #105

merged 3 commits into from Jul 20, 2023

Conversation

ubermanu
Copy link
Contributor

@ubermanu ubermanu commented Jul 19, 2023

  • Fixes type definitions
  • Fixes path to types in pkg.json
  • Fixes a warning when building the CJS file (uses the default export)
  • Replace the require statement with an import (ESM)

Closes #104

@papandreou papandreou merged commit 48f9674 into papandreou:master Jul 20, 2023
5 checks passed
@papandreou
Copy link
Owner

Thanks! Released in 4.2.0

@ubermanu ubermanu deleted the esm-fix branch July 25, 2023 21:46
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.

ReferenceError: require is not defined
2 participants