Re:Bundle Phobia: find the cost of adding an npm package to ...
by tytytytytytytyt on Monday December 18, 2017 @01:44PM
(#15954107)
Can you fix this?
MissingDependencyError
This package (or this version) uses `./lib-cov/http`, but does not specify them
either as a dependency or a peer dependency
For input chai-http
Re:Bundle Phobia: find the cost of adding an npm package to ...
by sixdimensional on Monday December 18, 2017 @05:08PM
(#15955963)
Sorry, I think I broke it because I didn't understand it. I was really curious to see what angular-cli came in with in your tool, because my feeling is that it's very costly in terms of dependencies. The result never came back.. stuck at "Calculating File Sizes" was I not supposed to look at such types of packages?
Re:Bundle Phobia: find the cost of adding an npm package to ...
by mintblue on Monday December 18, 2017 @01:42PM
(#15954090)
Really cool site, material breaks it though. Can't find dependency "button" :)
Thanks for building!
Re:Bundle Phobia: find the cost of adding an npm package to ...
by Yokohiii on Monday December 18, 2017 @01:42PM
(#15954073)
Wouldn't it make more sense to optinally add all dependencies?
Re:Bundle Phobia: find the cost of adding an npm package to ...
by pastelsky on Monday December 18, 2017 @02:45PM
(#15954779)
If you're the author of `react-button`, it wouldn't make sense to add `react` + `react-dom` to account for it's size. In most cases, peer dependencies are already present in the user's projects.
Re:Bundle Phobia: find the cost of adding an npm package to ...
by fleetfox on Monday December 18, 2017 @02:46PM
(#15954788)
Where are you from that 3G is "emerging"? I think we have like 90% LTE coverage for major providers, just a question of hardware supporting that.
Re:Bundle Phobia: find the cost of adding an npm package to ...
by nathancahill on Monday December 18, 2017 @02:51PM
(#15954833)
Oh boy. Guys, should we tell him?
Re:Bundle Phobia: find the cost of adding an npm package to ...
by mhaehnel on Monday December 18, 2017 @03:04PM
(#15954950)
It's about emerging markets.
You can also see size results now when browsing a package on yarnpkg.com (look for "Size in browser") or as a sheild on some repos (WIP).
Suggestions welcome.