Plugin source here: ./3d-reporter-plugin.js
Usage:
--output-type
option with a plugin:
prefix. (You can use something like $(pwd)
or specify fully like so: --output-type plugin:/Users/jdoe/bigproject/3d-reporter-plugin.js
).# for 'local' plugins we need to specify the absolute path
npx depcruise bin --include-only "^(bin|src)" --output-type plugin:$(pwd)/3d-reporter-plugin.js > 3d-graph.html
Results (interactive html):
# again: specify absolte path to the plugin
npx depcruise packages --include-only "^(packages)" --output-type plugin:$(pwd)/3d-reporter-plugin.js > 3d-graph.html
Result (interactive html): react’s module graph - nodes are ‘bald’. Warning: > 4000 modules and > 10000 dependencies in 4Mb of html.