node-dependency-tree
node-dependency-tree copied to clipboard
Filter out type import dependencies
Can this tool be configured to exclude all imports of any types (via import type) from being considered as file dependencies?
There is the option called noTypeDefinitions. Does that do what you want?
It defaults to false, so you'll need to set it to true yourself.
https://github.com/dependents/node-dependency-tree?tab=readme-ov-file#usage
No, that doesn't work for me. I think this setting only changes the resolver path from .js files to .d.ts files.