Files
klz-cables.com/.pnpm-store/v10/files/9f/ecf67c0e88667d097d82167492ca2af7fde9498af19f6bd9fcb4137b6c34d45ebf7aa26ed058387b91f32681f8f87ff79320978cdc52996f38489c2bd7cf23
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 Unleash 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 unleashIntegrationShim = defineIntegration((_options) => {
if (!isBrowser()) {
consoleSandbox(() => {
// eslint-disable-next-line no-console
console.warn('The unleashIntegration() can only be used in the browser.');
});
}
return {
name: 'Unleash',
};
});
export { unleashIntegrationShim };
//# sourceMappingURL=unleash.js.map