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

fix(import): convert require to esm import #98

Merged
merged 1 commit into from
Feb 24, 2023
Merged

Conversation

emmclaughlin
Copy link
Collaborator

Related to #96

It seems the require statement was building to require in both esm and cjs. By converting to an esm import it will stay this way in esm and be converted to a require in cjs by the build process. This should fix instances of ReferenceError: require is not defined.

@emmclaughlin emmclaughlin merged commit e660b6e into main Feb 24, 2023
@emmclaughlin emmclaughlin deleted the evan/fix-import branch February 24, 2023 14:58
@github-actions
Copy link

🎉 This PR is included in version 3.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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