UNPKG

@sentry/bundler-plugin-core

Version:
21 lines (18 loc) 540 B
try { let globalObject = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? global : "undefined" != typeof self ? self : {}; let stack = new globalObject.Error().stack; if (stack) { globalObject._sentryDebugIds = globalObject._sentryDebugIds || {}; globalObject._sentryDebugIds[stack] = "__SENTRY_DEBUG_ID__"; globalObject._sentryDebugIdIdentifier = "sentry-dbid-__SENTRY_DEBUG_ID__"; } } catch (e) {}