Files
klz-cables.com/.pnpm-store/v10/files/48/9a208e2fb057da8b8d777037fd008f5cb71c5f6f00058e3c7e1062b9e86310bf66d70e3b2925b1f337c741e349f151bad390bba0552f09a0bc5675a1a7b0ac
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

1 line
1.8 KiB
Plaintext

{"version":3,"file":"distDirRewriteFramesIntegration.js","sources":["../../../src/server/distDirRewriteFramesIntegration.ts"],"sourcesContent":["import { defineIntegration, escapeStringForRegex, rewriteFramesIntegration } from '@sentry/core';\nimport * as path from 'path';\n\nexport const distDirRewriteFramesIntegration = defineIntegration(({ distDirName }: { distDirName: string }) => {\n // nextjs always puts the build directory at the project root level, which is also where you run `next start` from, so\n // we can read in the project directory from the currently running process\n const distDirAbsPath = path.resolve(distDirName).replace(/(\\/|\\\\)$/, ''); // We strip trailing slashes because \"app:///_next\" also doesn't have one\n\n // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor -- user input is escaped\n const SOURCEMAP_FILENAME_REGEX = new RegExp(escapeStringForRegex(distDirAbsPath));\n\n const rewriteFramesInstance = rewriteFramesIntegration({\n iteratee: frame => {\n frame.filename = frame.filename?.replace(SOURCEMAP_FILENAME_REGEX, 'app:///_next');\n return frame;\n },\n });\n\n return {\n ...rewriteFramesInstance,\n name: 'DistDirRewriteFrames',\n };\n});\n"],"names":[],"mappings":";;;AAGO,MAAM,+BAAA,GAAkC,iBAAiB,CAAC,CAAC,EAAE,WAAA,EAAa,KAA8B;AAC/G;AACA;AACA,EAAE,MAAM,cAAA,GAAiB,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAA;;AAE1E;AACA,EAAE,MAAM,wBAAA,GAA2B,IAAI,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC;;AAEnF,EAAE,MAAM,qBAAA,GAAwB,wBAAwB,CAAC;AACzD,IAAI,QAAQ,EAAE,KAAA,IAAS;AACvB,MAAM,KAAK,CAAC,QAAA,GAAW,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,wBAAwB,EAAE,cAAc,CAAC;AACxF,MAAM,OAAO,KAAK;AAClB,IAAI,CAAC;AACL,GAAG,CAAC;;AAEJ,EAAE,OAAO;AACT,IAAI,GAAG,qBAAqB;AAC5B,IAAI,IAAI,EAAE,sBAAsB;AAChC,GAAG;AACH,CAAC;;;;"}