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

Update readme.md #739

Closed
wants to merge 1 commit into from
Closed

Update readme.md #739

wants to merge 1 commit into from

Conversation

dioptre
Copy link

@dioptre dioptre commented Feb 20, 2025

esm is unnecessary

esm is unnecessary
@sindresorhus
Copy link
Owner

It's better described in the "read more" link.

@Borewit
Copy link
Collaborator

Borewit commented Feb 20, 2025

The current exports is blocking file-type to be loaded as an ESM module via require (possible since Node version 22), as it strictly requires file-type to be imported via an ESM import. PR #736 unblocks that.

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