Skip to content

Don't understand the boxes :) #558

Answered by valscion
emilmuller asked this question in Q&A
Discussion options

You must be logged in to vote

Because node_modules is represented twice, I'm guessing the size calculation is incorrect for that one?

I don't think that size calculation is incorrect here ☺️

It looks like the contents of node_modules directory in those boxes are different. The one on the right shows mobx, lodash and yup/es while the one on the right has react-dom, tippy.js, styled-components and some other modules. So they're different to what is shown on the right side box.

It looks like the index.tsx file and its dependencies have been concatenated inside it and you're viewing the chart with the "Show content of concatenated modules" checkbox enabled. If you'd uncheck that, you should see mobx.esm.js and the other n…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by valscion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #491 on February 23, 2023 08:48.