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

25 lines
1.4 KiB
Plaintext

import type { RouteManifest } from './manifest/types';
import type { NextConfigObject, SentryBuildOptions, WebpackConfigFunction } from './types';
import type { VercelCronsConfigResult } from './withSentryConfig/getFinalConfigObjectUtils';
/**
* Construct the function which will be used as the nextjs config's `webpack` value.
*
* Sets:
* - `devtool`, to ensure high-quality sourcemaps are generated
* - `entry`, to include user's sentry config files (where `Sentry.init` is called) in the build
* - `plugins`, to add SentryWebpackPlugin
*
* @param userNextConfig The user's existing nextjs config, as passed to `withSentryConfig`
* @param userSentryOptions The user's SentryWebpackPlugin config, as passed to `withSentryConfig`
* @returns The function to set as the nextjs config's `webpack` value
*/
export declare function constructWebpackConfigFunction({ userNextConfig, userSentryOptions, releaseName, routeManifest, nextJsVersion, useRunAfterProductionCompileHook, vercelCronsConfigResult, }: {
userNextConfig: NextConfigObject;
userSentryOptions: SentryBuildOptions;
releaseName: string | undefined;
routeManifest: RouteManifest | undefined;
nextJsVersion: string | undefined;
useRunAfterProductionCompileHook: boolean | undefined;
vercelCronsConfigResult: VercelCronsConfigResult;
}): WebpackConfigFunction;
//# sourceMappingURL=webpack.d.ts.map