sindresorhus/file-type

No "exports" main defined

Closed this issue · 2 comments

I've got the same problem

Similar to #661.

Please note, as clearly stated in the README, this is an ESM module, you need to import it as such.