evanw / evanw/esbuild

Support a dependency graph chart in the bundler analyzer

Open
#3,239 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Example graph:

[![Screen Shot 2023-07-17 at 14 06 13](https://github.com/evanw/esbuild/assets/1812093/ad32cd7f-bf9a-4527-81de-708b663f40ab)](https://npmgraph.js.org/?q=open)

[`npmgraph.js`](https://npmgraph.js.org/?q=open) is pretty awesome, but it doesn't work offline, and it's not bundler-aware, so for example it may list Browser-only dependencies that won't actually be bundled in a Node bundle.

It'd be awesome if a chart like that, graphing all required dependencies, with some minor metadata for each, could be added to esbuild's bundler analyzer.

It's a pretty useful chart imo because it tells you how many different people you are depending upon, and for what.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.