File tree
Expand file treeCollapse file tree1 file changed
+2
-1
lines changed packages/node/src/integrations
Expand file treeCollapse file tree1 file changed
+2
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -13,7 +13,8 @@ const INTEGRATION_NAME = 'Modules';
|
13 | 13 | declare const __SENTRY_SERVER_MODULES__: Record<string, string>;
|
14 | 14 |
|
15 | 15 | /**
|
16 |
| -* This is replaced at build time with the modules loaded by the server. |
| 16 | +* `__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. |
17 | 18 | */
|
18 | 19 | const SERVER_MODULES = typeof __SENTRY_SERVER_MODULES__ === 'undefined' ? {} : __SENTRY_SERVER_MODULES__;
|
19 | 20 |
|
|
You can’t perform that action at this time.
0 commit comments