bundlephobia icon indicating copy to clipboard operation
bundlephobia copied to clipboard

feat: support package exports and custom paths

Open KaelWD opened this issue 3 years ago • 2 comments

Requires https://github.com/pastelsky/package-build-stats/pull/52

fixes #218 fixes #379

Next step would be to parse package.exports and generate a list of available entrypoints and their sizes, probably have to skip anything with wildcards though.

KaelWD avatar Aug 14 '22 15:08 KaelWD

@pastelsky any updates here?

kurtextrem avatar Oct 17 '23 19:10 kurtextrem

@KaelWD, thank you so much for putting together this PR. @pastelsky, this PR is quite important in my opinion, for example, my library doesn't display the bundle size even though it's done according to the standards. The reason for this is the absence of module and main in package.json, which is not a problem for modern Node.js (>12.x).

radist2s avatar Jul 07 '24 18:07 radist2s