-
-
Notifications
You must be signed in to change notification settings - Fork 182
Adopt module-sync? #225
Copy link
Copy link
Open
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.
With the release of Node 24 and EOL of Node 18 next month, all LTS versions of Node will support having a
module-syncentry point inexportsallowing CJS files to load ESM files if they do not use top-level await. It would be a nice change as it would reduce the size of the package as a CJS build would no longer be needed for CJS consumers and would help support the ecosystem moving to ESM.This package currently supports Node 18, so it would require bumping the
enginesfield slightly and would be a breaking change