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: use export in package.json to reference ESM #232

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

woehrl01
Copy link

@woehrl01 woehrl01 commented Sep 11, 2023

The module field of package.json has never been officially supported by Node.js (see Stackoverflow).

To correctly reference the ESM version, Node.js recommends using the export field in the package.json (refer to Node.js ESM documentation).

With this change, we also ensure compatibility with bun.

@TreeOfLearning
Copy link

Thank you, here's hoping this gets merged quickly!

@samuelhnrq
Copy link

Hate to be the one doing the "me too" comment, much less to be the annoying one "@-ing people" but the project seems parked and this fix so easy, sorry @MeltingMosaic, @Xapphire13

Bun just launched T.T

@jonnysamps
Copy link

Commenting for visibility. Please merge!

@dkerr-dev
Copy link

Please merge! :)

@Murzbul
Copy link

Murzbul commented Nov 16, 2023

Please merge!

@JulienLeal
Copy link

Please merge !

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

7 participants