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
30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
import { Options as SentryBuildPluginOptions } from '@sentry/bundler-plugin-core';
|
|
import { SentryBuildOptions } from './types';
|
|
declare const LOGGER_PREFIXES: {
|
|
readonly 'webpack-nodejs': "[@sentry/nextjs - Node.js]";
|
|
readonly 'webpack-edge': "[@sentry/nextjs - Edge]";
|
|
readonly 'webpack-client': "[@sentry/nextjs - Client]";
|
|
readonly 'after-production-compile-webpack': "[@sentry/nextjs - After Production Compile (Webpack)]";
|
|
readonly 'after-production-compile-turbopack': "[@sentry/nextjs - After Production Compile (Turbopack)]";
|
|
};
|
|
type BuildTool = keyof typeof LOGGER_PREFIXES;
|
|
/**
|
|
* Normalizes Windows paths to POSIX format for glob patterns
|
|
*/
|
|
export declare function normalizePathForGlob(distPath: string): string;
|
|
/**
|
|
* Get Sentry Build Plugin options for both webpack and turbopack builds.
|
|
* These options can be used in two ways:
|
|
* 1. The options can be built in a single operation after the production build completes
|
|
* 2. The options can be built in multiple operations, one for each webpack build
|
|
*/
|
|
export declare function getBuildPluginOptions({ sentryBuildOptions, releaseName, distDirAbsPath, buildTool, useRunAfterProductionCompileHook, }: {
|
|
sentryBuildOptions: SentryBuildOptions;
|
|
releaseName: string | undefined;
|
|
distDirAbsPath: string;
|
|
buildTool: BuildTool;
|
|
useRunAfterProductionCompileHook?: boolean;
|
|
}): SentryBuildPluginOptions;
|
|
export {};
|
|
//# sourceMappingURL=getBuildPluginOptions.d.ts.map
|