megahertz / howfat

Shows how fat is a package
MIT License
86 stars 8 forks source link

Could the same packages in deep dependencies be merged? #16

Closed miserylee closed 1 year ago

miserylee commented 1 year ago

many duplicated dependencies will be hoisted, only one copy should be calculated to the package size

megahertz commented 1 year ago

It should not affect the final size. Which package has wrong stats calculated?

miserylee commented 1 year ago

Okay, maybe I mistake review the result. I have an idea, could the --reporter option support flatten list to show all deduplicated modules, which should be more clear to analyze. Thanks for your quickly reply ❤

megahertz commented 1 year ago

Do you mean a table-like view, but where sub dependencies are also listed?