pastelsky / bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project
https://bundlephobia.com
MIT License
9.01k stars 223 forks source link

Request: run against local package #239

Open donifer opened 5 years ago

donifer commented 5 years ago

Please describe the feature/suggestion It would be awesome if we can run this again a local package. That way we could verify we are tree-shaking properly before publishing a module to npm.

Describe the solution you'd like Add a cli or a way to run this again a local build directory.

Describe any alternatives you've considered None so far

harshzalavadiya commented 4 years ago

Maybe if we can upload npm pack generated archive and bundlephobia can analyse on that

prantlf commented 3 years ago

... or produce a command-line client using the same algorithm as bundlephobia.

pastelsky commented 3 years ago

https://github.com/pastelsky/package-build-stats now supports building local packages.