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
Currently the only way to disable ESM loader hook registration is to
set:
```ts
globalThis._sentryEsmLoaderHookRegistered = true;
```
After this PR, you can set the new `registerEsmLoaderHooks` option to
`false`:
```ts
import * as Sentry from '@sentry/node';
Sentry.init({
dsn: '__DSN__',
registerEsmLoaderHooks: false,
});
```
---------
Co-authored-by: Francesco Novy <[email protected]>
0 commit comments