UNPKG

740 BJavaScriptView Raw
1import { __assign } from "tslib";
2export * from './exports';
3import { Integrations as CoreIntegrations } from '@sentry/core';
4import { getGlobalObject } from '@sentry/utils';
5import * as BrowserIntegrations from './integrations';
6import * as Transports from './transports';
7var windowIntegrations = {};
8// This block is needed to add compatibility with the integrations packages when used with a CDN
9var _window = getGlobalObject();
10if (_window.Sentry && _window.Sentry.Integrations) {
11 windowIntegrations = _window.Sentry.Integrations;
12}
13var INTEGRATIONS = __assign(__assign(__assign({}, windowIntegrations), CoreIntegrations), BrowserIntegrations);
14export { INTEGRATIONS as Integrations, Transports };
15//# sourceMappingURL=index.js.map
\No newline at end of file