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: ES Module Support #166

Closed
wants to merge 8 commits into from
Closed

Conversation

maneesht
Copy link

@maneesht maneesht commented May 31, 2023

Based off of #111, this fixes ES Module support for Node.js environments. Previously, if you were using es modules in the browser (i.e. with Parcel) and the package manager wasn't specifically resolving to browser modules, it picked up the main module, which was using CommonJS.
I added an exports field to fix the resolution.

@maneesht maneesht changed the title Fix ES Module Support Fix: ES Module Support Jun 1, 2023
@maneesht maneesht changed the title Fix: ES Module Support fix: ES Module Support Jun 1, 2023
@maneesht maneesht marked this pull request as draft June 1, 2023 22:12
@lquixada lquixada deleted the branch lquixada:main June 2, 2023 13:09
@lquixada lquixada closed this Jun 2, 2023
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

3 participants