Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which package are you using?
@sentry/react
SDK Version
7.7.0
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
- When upgrading to v7 and above, Edge 16/17/18 and iOS 10 safari would no longer load our pages.
- So I set webpack to include @sentry packages via
exclude: /node_modules\/(?!(@sentry)\/).*/,
(we normally exclude node_modules). Our@babel/present-env
target istargets: { esmodules: true },
- After this new build, those browsers started loading our pages okay.
- When I view the response to
captureMessage
it appears to work fine, I get an event_id returned.
Expected Result
I expect the network calls to be made to register these event_id's on all browsers
Actual Result
No network request is made in Edge 16/17/18 or iOS 10 Safari, so these events never get to Sentry.
In more modern browsers I do get the network requests and they work as normal in Sentry.
Internal tracking:
- Add option to nextjs SDK (fix(nextjs): Add
transpileClientSDK
option #5472) - Document nextjs option and document necessary build pipeline changes for non-nextjs people (feat(nextjs): Add
transpileClientSDK
option and build config page sentry-docs#5350)