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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,8 +49,8 @@ var list = dependencyTree.toList({
49
49
*`filter`: a function used to determine if a module (and its subtree) should be included in the dependency tree
50
50
- The first argument given to the filter is an absolute filepath to the dependency and the second is the filepath to the currently traversed file. Should return a `Boolean`. If it returns `true`, the module is included in the resulting tree.
51
51
*`detective`: object with configuration specific to detectives used to find dependencies of a file
52
-
- for example `detective.amd.skipLazyLoaded: true` tells the AMD detective to omit inner requires
53
-
- See [precinct's usage docs](https://github.com/dependents/node-precinct#usage) for the list of module types you can pass options to.
52
+
- for example `detective.amd.skipLazyLoaded: true` tells the AMD detective to omit inner requires
53
+
- See [precinct's usage docs](https://github.com/dependents/node-precinct#usage) for the list of module types you can pass options to.
0 commit comments