-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display imported by
field in treemap view for modules
#179
Display imported by
field in treemap view for modules
#179
Comments
imported by
field in treemap viewimported by
field in treemap view for modules
Awesome, I need this! |
Hi, thank you for issue and implementation. I like the idea but i cannot merge it. I maintain master copy of UI in rollup plugin and copy implementation from time to time to this package as it is not dependent from bundler. If i start to merge PR there i will not be able to sync it. not with my limited capacity to maintain both plugins. It would be nice if you can copy you PR against rollup plugin. If not i can eventually copy your changes. |
Hey @btd, I looked into simply copying the PR to the rollup plugin but I think it won't be sufficient. After a bit of deep diving, here's what I found : for example for the treemap bundle, esbuild will list Because of this, the rollup plugin data has a missing piece to track which file imports a module. That link would normally be the |
Here is the you can see that there is no |
Thanks for understanding, i will take a look |
Blocked by #183 |
Hey @btd,
I've been using your library to understand my bundles.
I often have big node_modules and small
src
codeThere is an
imported by
display in the treemap view but only for individual files. It mixes imports from an installed package and imports by our source codeIt would be great to see for entire modules, where they are imported
I've been working on something that looks like this
I'll open a pr as soon as possible
The text was updated successfully, but these errors were encountered: