Skip to content

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 !

@risenxxx
Copy link

I fixed ESM thing in my fork: tsyringe-neo. Feel free to use

Copy link

@fatih-buyuk-mytech fatih-buyuk-mytech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats ok

@Xapphire13 Xapphire13 force-pushed the package_json_export branch from 475a9ca to c842b2b Compare April 3, 2025 23:33
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.