You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI @glato,
Thanks for making emerge. I'm trying to use it on our large TypeScript codebase (>10k files). I need to exclude 150k third-party imported files which are stored in node_modules directories.
When node_modules files are included, the graph structure is dominated by them. For example, in this screenshot, the blue constellation in the center is a file that imports from the @smithy/types library and the library files around it. The orange in the lower-left is the AWS client library. The halo around the graph are unused files from third-party libraries.
I tried using the ignore_dependencies_containing option in the config file, but it doesn't work for node_modules:
Ideally, the tool would have an ignore_node_modules boolean option which defaults to true. Another option is to have an exclude_file_patterns option which we can set to **/node_modules/**.
Sincerely, Michael
The text was updated successfully, but these errors were encountered:
HI @glato,
Thanks for making emerge. I'm trying to use it on our large TypeScript codebase (>10k files). I need to exclude 150k third-party imported files which are stored in
node_modules
directories.When
node_modules
files are included, the graph structure is dominated by them. For example, in this screenshot, the blue constellation in the center is a file that imports from the @smithy/types library and the library files around it. The orange in the lower-left is the AWS client library. The halo around the graph are unused files from third-party libraries.I tried using the
ignore_dependencies_containing
option in the config file, but it doesn't work fornode_modules
:Ideally, the tool would have an
ignore_node_modules
boolean option which defaults totrue
. Another option is to have anexclude_file_patterns
option which we can set to**/node_modules/**
.Sincerely, Michael
The text was updated successfully, but these errors were encountered: