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

24 lines
1.1 KiB
Plaintext

import type { NextConfigObject, SentryBuildOptions } from '../types';
/**
* Adds Sentry-related build-time variables to `nextConfig.env`.
*
* Note: this mutates `userNextConfig`.
*
* @param userNextConfig - The user's Next.js config object
* @param userSentryOptions - The Sentry build options passed to `withSentryConfig`
* @param releaseName - The resolved release name, if any
*/
export declare function setUpBuildTimeVariables(userNextConfig: NextConfigObject, userSentryOptions: SentryBuildOptions, releaseName: string | undefined): void;
/**
* Returns the current git SHA (HEAD), if available.
*
* This is a best-effort helper and returns `undefined` if git isn't available or the cwd isn't a git repo.
*/
export declare function getGitRevision(): string | undefined;
/**
* Reads the project's `instrumentation-client.(js|ts)` file contents, if present.
*
* @returns The file contents, or `undefined` if the file can't be found/read
*/
export declare function getInstrumentationClientFileContents(): string | void;
//# sourceMappingURL=buildTime.d.ts.map