We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241cc0e commit a42c7e4Copy full SHA for a42c7e4
1 file changed
packages/collector/esm-loader.mjs
@@ -21,7 +21,10 @@
21
*/
22
23
import instana from './src/index.js';
24
-instana();
+
25
+if (typeof instana === 'function') {
26
+ instana();
27
+}
28
// Here we export all named exports from '@instana/core/iitm-loader.mjs', enabling
29
// integration of import-in-the-middle (IITM) for Native ESM module support.
30
export * from '@instana/core/iitm-loader.mjs';
0 commit comments