Support for multiple entry points with "exports"

Author: hsablonniereCreated Jul 22, 2020Updated Jul 7, 2026
LabelsImprovement

Hello team :wink:

My search fu may be broken but it seems like bundlephobia always expects one single entry point with package.json "main" and does not rely on the new "exports" feature.

https://nodejs.org/dist/latest-v14.x/docs/api/esm.html#esm_package_entry_points

I have a components library at https://github.com/CleverCloud/clever-components and I would love to see the size report in bundlephobia.