Skip to content

Commit

Permalink
Specify that trackRequires() is only available in CommonJS
Browse files Browse the repository at this point in the history
  • Loading branch information
RaisinTen authored May 9, 2024
1 parent 32f66af commit 9c21c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ Call `traceEvents.getEvents()` to get the PerformanceEntry objects in the [Trace
]
```

## `trackRequires(bool)`
## `trackRequires(bool)` (only available in [CommonJS](https://nodejs.org/api/modules.html#modules-commonjs-modules))

Call `trackRequires(true)` to enable tracking `require()`s and call `trackRequires(false)` to disable tracking `require()`s.

0 comments on commit 9c21c38

Please sign in to comment.