bundlephobia icon indicating copy to clipboard operation
bundlephobia copied to clipboard

Support for multiple entry points with "exports"

Open hsablonniere opened this issue 4 years ago • 1 comments

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.

hsablonniere avatar Jul 22 '20 13:07 hsablonniere

bump, node.js is gravitating towards using "exports" instead of "main" and "module" or "browser" right now

vikyw89 avatar Apr 21 '23 12:04 vikyw89