We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transpileClientSDK
1 parent b66a3d7 commit 990361fCopy full SHA for 990361f
packages/nextjs/src/config/webpack.ts
@@ -80,7 +80,7 @@ export function constructWebpackConfigFunction(
80
// who want to support such browsers, `transpileClientSDK` allows them to force the SDK code to go through the same
81
// transpilation that their code goes through. We don't turn this on by default because it increases bundle size
82
// fairly massively.
83
- if (!isServer && userNextConfig.sentry?.transpileClientSDK) {
+ if (!isServer && userSentryOptions?.transpileClientSDK) {
84
// Find all loaders which apply transpilation to user code
85
const transpilationRules = findTranspilationRules(newConfig.module?.rules, projectDir);
86
0 commit comments