Files
klz-cables.com/.pnpm-store/v10/files/ca/39b8b61b6a7b5f61d5d3d8de84e9540fa7a195c07cbe9d70f6f33ff21a9f4d765ee61365e904bba34ccfd43ba662b442d2192a0d768a25feafa55cf0d3fbf9
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

22 lines
638 B
Plaintext

import { defineIntegration, isBrowser, consoleSandbox } from '@sentry/core';
/**
* This is a shim for the Statsig integration.
* We need this in order to not throw runtime errors when accidentally importing this on the server through a meta framework like Next.js.
*/
const statsigIntegrationShim = defineIntegration((_options) => {
if (!isBrowser()) {
consoleSandbox(() => {
// eslint-disable-next-line no-console
console.warn('The statsigIntegration() can only be used in the browser.');
});
}
return {
name: 'Statsig',
};
});
export { statsigIntegrationShim };
//# sourceMappingURL=statsig.js.map