pastelsky / bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project
https://bundlephobia.com
MIT License
8.96k stars 221 forks source link

EntryPointError from ESM only packages #878

Open mesqueeb opened 4 months ago

mesqueeb commented 4 months ago

Describe the bug

See https://bundlephobia.com/package/is-what

To Reproduce ESM only packages really only need to define exports in package.json, my recent packages are all ESM only, and now bundlephobia stopped working

Expected behavior packages with "type": "module" should check the "exports" as the entry point

fregante commented 3 months ago

Duplicate of https://github.com/pastelsky/bundlephobia/issues/379