Skip to content

Commit 990361f

Browse files
committed
pull transpileClientSDK option from correct location
1 parent b66a3d7 commit 990361f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/config/webpack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function constructWebpackConfigFunction(
8080
// who want to support such browsers, `transpileClientSDK` allows them to force the SDK code to go through the same
8181
// transpilation that their code goes through. We don't turn this on by default because it increases bundle size
8282
// fairly massively.
83-
if (!isServer && userNextConfig.sentry?.transpileClientSDK) {
83+
if (!isServer && userSentryOptions?.transpileClientSDK) {
8484
// Find all loaders which apply transpilation to user code
8585
const transpilationRules = findTranspilationRules(newConfig.module?.rules, projectDir);
8686

0 commit comments

Comments
 (0)