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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ var list = dependencyTree.toList({
44
44
*`requireConfig`: path to a requirejs config for AMD modules (allows for the result of aliased module paths)
45
45
*`webpackConfig`: path to a webpack config for aliased modules
46
46
*`tsConfig`: path to a typescript config (or a preloaded object representing the typescript config)
47
+
*`tsConfigPath`: a (virtual) path to typescript config file when `tsConfig` option is given as an object, not a string. Needed to calculate [Path Mapping](https://www.typescriptlang.org/docs/handbook/module-resolution.html#path-mapping). If not given when `tsConfig` is an object, **Path Mapping** is ignored. This is not needed when `tsConfig` is given as a path string.
47
48
*`nodeModulesConfig`: config for resolving entry file for node_modules
48
49
*`visited`: object used for avoiding redundant subtree generations via memoization.
49
50
*`nonExistent`: array used for storing the list of partial paths that do not exist
0 commit comments