@sentry/nextjs
Version:
Official Sentry SDK for Next.js
25 lines (22 loc) • 680 B
JavaScript
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
const __sentry__timeOrigin = Date.now();
if (typeof globalThis !== "undefined" && globalThis.performance === void 0) {
globalThis.performance = {
timeOrigin: __sentry__timeOrigin,
now: function() {
return Date.now() - __sentry__timeOrigin;
}
};
}
const performance = globalThis.performance || {
timeOrigin: __sentry__timeOrigin,
now: function() {
return Date.now() - __sentry__timeOrigin;
}
};
const perf_hooks = {
performance
};
exports.default = perf_hooks;
exports.performance = performance;
//# sourceMappingURL=perf_hooks.js.map