Closed gaearon closed 7 years ago
Rationale: users expected that app bundle size = app size alone + sum of sizes of direct dependencies. So we shouldn’t count them twice.
(this is ready for review)
Great job on this PR, very clean. I was just working on the same thing but I'll merge yours instead :D. Thanks for your help today!
Thanks! Feel free to refactor 😛 I'm not sure I fully understand the resolving logic so I did the simplest thing I could make work.
And generally fix builds for packages with peer dependencies. Fixes https://github.com/antonmedv/jsize/issues/6.