0.1.4 • Published 12 years ago

webpack-graph v0.1.4

Weekly downloads
1
License
-
Repository
-
Last release
12 years ago

webpack-graph

It visualize your dependency tree as svg image.

Provide it with webpack stats (as JSON) for version > 0.7.

You can generate them by calling webpack with --json.

Command Line

webpack-graph [<stats.json> [output.svg]]

If you don't provide the files as parameters webpack-graph will read them from stdin or write it to stdout.

--context <path> - Shorten filenames according to this context

Resulting Image

  • Circles are modules/contexts
  • The size visualize the file size.
  • The color visualize the chunks in which the module is emitted.
  • Connections are dependencies
  • webpack-graph try to guess libaries and connect them with thin lines
  • Dashed lines visualize async requires.
  • Hover modules/contexts to display more info
  • Tooltip display module name and loaders
  • Tooltip display chunks
  • Green lines display requires from other modules/contexts
  • Red lines display requires to other modules/contexts
  • Brown lines display requires to and from other modules/contexts
0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago