bundlephobia
bundlephobia copied to clipboard
Support for multiple entry points with "exports"
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.
bump, node.js is gravitating towards using "exports" instead of "main" and "module" or "browser" right now