diff --git a/docs/node/esm.md b/docs/node/esm.md index f8fa7429c..1595cb488 100644 --- a/docs/node/esm.md +++ b/docs/node/esm.md @@ -68,19 +68,6 @@ register({ }) ``` -#### Tracking loaded files - -Detect files that get loaded with the `onImport` hook: - -```ts -register({ - onImport: (file: string) => { - console.log(file) - // file:///foo.ts - } -}) -``` - ### Scoped registration If you want to register tsx without affecting the environment, you can add a namespace.