Converts JSON stats from webpack to a nice SVG-Image.
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
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
--context <path> - Shorten filenames according to this context
--width <number> - The max width of the output svg
--height <number> - The max height of the output svg
--steps <number> - Limit the simulation steps
--interactive - Emit simulation code to browser
--color-by-loaders - Choose colors by loaders
--color-by-module - Choose colors by loaders
--color-switch - Chosse colors by hovering
See more examples in webpack examples