0.0.2 • Published 9 years ago
webpack-dependency-tree v0.0.2
webpack-dependency-tree
Builds a dependency tree from webpack stats
fromStats(stats, opts)
Builds a dependency tree from webpack stats.
opts
can be:
opts.packageDescriptors
: List of package descriptor files to look for in package directories. Defaults to['package.json', 'bower.json', 'component.json']
treeToString(tree, opts)
Converts a dependency tree to an ASCII hierarchy representation.
opts
can be:
opts.pretty
: Add colors and styles to the outputopts.fullPaths
: Display full paths instead of relative paths.