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

[Improvement] Calulate package size from bin property #856

Open kravetsone opened 8 months ago

kravetsone commented 8 months ago

for my library that only npx/bunx executable i got this error)

EntryPointError We could not guess a valid entry point for this package. Perhaps the author hasn't specified one in its package.json ?

Describe the solution you'd like

Calulate package size with binaries

"bin": {
        "create-elysiajs": "dist/index.js"
    },