Get rid of Sentry Replay from web bundle (#9534)
This commit is contained in:
@@ -28,6 +28,7 @@ module.exports = async function (env, argv) {
|
|||||||
.resolve('unicode-segmenter/grapheme')
|
.resolve('unicode-segmenter/grapheme')
|
||||||
.replace(/\.cjs$/, '.js'),
|
.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
|
'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 = [
|
||||||
...(config.module.rules || []),
|
...(config.module.rules || []),
|
||||||
|
|||||||
Reference in New Issue
Block a user