dependents / node-dependency-tree

Get the dependency tree of a module
MIT License
704 stars 84 forks source link

Why is precinctOptions.includeCore always false? #150

Open lijialiang opened 2 years ago

lijialiang commented 2 years ago

When using it, I found that I could not find any dependencies like url, querystring, etc. Even though detectiveConfig.includeCore is set to true, it does not work.

A look at the source code shows that precinctOptions.includeCore is always set to false.

https://github.com/dependents/node-dependency-tree/blob/d3a0cd3551b4bf1508e857d1123d0f287f6ec121/index.js#L85