Skip to content

Display imported by field in treemap view for modules #179

Open
btd/esbuild-visualizer
#11
@guillaumeduboc

Description

@guillaumeduboc

Hey @btd,

I've been using your library to understand my bundles.
I often have big node_modules and small src code

  • In my treemap view I don't really understand why big libraries are present
  • in the network view, I can't find the entrypoint of the library I'm interested in easily to find where I import it in my code

There 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 code

Capture d’écran 2023-07-04 à 09 57 20

It would be great to see for entire modules, where they are imported

I've been working on something that looks like this

Capture d’écran 2023-07-04 à 10 00 02

I'll open a pr as soon as possible

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions