Get rid of Sentry Replay from web bundle (#9534)

This commit is contained in:
Samuel Newman
2026-02-18 16:20:05 +00:00
committed by GitHub
parent 74330500de
commit adc079e095
+1
View File
@@ -28,6 +28,7 @@ module.exports = async function (env, argv) {
.resolve('unicode-segmenter/grapheme')
.replace(/\.cjs$/, '.js'),
'react-native-gesture-handler': false, // RNGH should not be used on web, so let's cause a build error if it sneaks in
'@sentry-internal/replay': false, // not used, ~300kb of dead weight
})
config.module.rules = [
...(config.module.rules || []),