sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

Large Bundle Size @sentry-internal

Open TomAtterton opened this issue 1 year ago • 3 comments

Description

Image

I saw this issue :https://github.com/getsentry/sentry-react-native/issues/3718

I added the line to my metro config but I am still getting this sentry-internal package taking up some of my bundle size.

As I don't plan to use it at least for now is there a way to remove it ? Not sure if it's related to the ticket above or something new because of the replay added recently 😄

TomAtterton avatar Apr 23 '25 11:04 TomAtterton

Hi @TomAtterton,
thank you for the message, this is a regression, the Replay package was renamed from @sentry/replay to @sentry-internal/replay, but the Metro Plugin implementation was not updated.

krystofwoldrich avatar Apr 23 '25 14:04 krystofwoldrich

Released in https://github.com/getsentry/sentry-react-native/releases/tag/6.12.0

krystofwoldrich avatar Apr 30 '25 08:04 krystofwoldrich