Skip to content

Conversation

@bengl
Copy link
Contributor

@bengl bengl commented Mar 18, 2025

With a CJS file only, there was no way for Node.js to determine its exports, since they're created dynamically.

Adding an ESM file to re-export everything allows Node.js to correctly determine the exports.

With a CJS file only, there was no way for Node.js to determine its
exports, since they're created dynamically.

Adding an ESM file to re-export everything allows Node.js to correctly
determine the exports.
@bengl bengl force-pushed the bengl/support-esm branch from 7df66bc to e432d28 Compare March 18, 2025 20:59
@tlhunter tlhunter merged commit a560361 into main Mar 20, 2025
42 checks passed
@tlhunter tlhunter deleted the bengl/support-esm branch March 20, 2025 21:17
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.

4 participants