diff --git a/src/js/tools/metroconfig.ts b/src/js/tools/metroconfig.ts index 25b85aaf0..4235f38e4 100644 --- a/src/js/tools/metroconfig.ts +++ b/src/js/tools/metroconfig.ts @@ -51,7 +51,7 @@ export function withSentryConfig( if (annotateReactComponents) { newConfig = withSentryBabelTransformer(newConfig); } - if (options.includeWebReplay === false) { + if (includeWebReplay === false) { newConfig = withSentryResolver(newConfig, includeWebReplay); }