We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e999fd commit cec19a7Copy full SHA for cec19a7
packages/node/src/integrations/modules.ts
@@ -13,7 +13,8 @@ const INTEGRATION_NAME = 'Modules';
13
declare const __SENTRY_SERVER_MODULES__: Record<string, string>;
14
15
/**
16
- * This is replaced at build time with the modules loaded by the server.
+ * `__SENTRY_SERVER_MODULES__` can be replaced at build time with the modules loaded by the server.
17
+ * Right now, we leverage this in Next.js to circumvent the problem that we do not get access to these things at runtime.
18
*/
19
const SERVER_MODULES = typeof __SENTRY_SERVER_MODULES__ === 'undefined' ? {} : __SENTRY_SERVER_MODULES__;
20
0 commit comments