Title: No fetch calls on Edge 16/17/18 or iOS10 after transpiling to esmodules · Issue #5452 · getsentry/sentry-javascript · GitHub
Open Graph Title: No fetch calls on Edge 16/17/18 or iOS10 after transpiling to esmodules · Issue #5452 · getsentry/sentry-javascript
X Title: No fetch calls on Edge 16/17/18 or iOS10 after transpiling to esmodules · Issue #5452 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5452
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No fetch calls on Edge 16/17/18 or iOS10 after transpiling to esmodules","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSelf-hosted/on-premise\r\n\r\n### Which package are you using?\r\n\r\n@sentry/react\r\n\r\n### SDK Version\r\n\r\n7.7.0\r\n\r\n### Framework Version\r\n\r\n_No response_\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\n1. When upgrading to v7 and above, Edge 16/17/18 and iOS 10 safari would no longer load our pages.\r\n2. So I set webpack to include @sentry packages via `exclude: /node_modules\\/(?!(@sentry)\\/).*/,` (we normally exclude node_modules). Our `@babel/present-env` target is `targets: { esmodules: true },`\r\n3. After this new build, those browsers started loading our pages okay.\r\n4. When I view the response to `captureMessage` it appears to work fine, I get an event_id returned.\r\n\r\n### Expected Result\r\n\r\nI expect the network calls to be made to register these event_id's on all browsers\r\n\r\n### Actual Result\r\n\r\nNo network request is made in Edge 16/17/18 or iOS 10 Safari, so these events never get to Sentry.\r\n\r\nIn more modern browsers I do get the network requests and they work as normal in Sentry.\r\n\r\n-------------\r\n\r\nInternal tracking:\r\n- [x] Add option to nextjs SDK (https://github.com/getsentry/sentry-javascript/pull/5472)\r\n- [x] Document nextjs option and document necessary build pipeline changes for non-nextjs people (https://github.com/getsentry/sentry-docs/pull/5350)","author":{"url":"https://github.com/jasonfry","@type":"Person","name":"jasonfry"},"datePublished":"2022-07-22T15:10:27Z","url":"https://github.com/getsentry/sentry-javascript/issues/5452"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:38c692bc-28ed-c0b2-429a-62ec92ffba30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A030:31EE77:5638C5:721D02:6B04C11D |
| html-safe-nonce | 1bcd097ad6750b82e8415c126cb55e7ce4a8bdb216fb27bcbb173b494c2f91f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDMwOjMxRUU3Nzo1NjM4QzU6NzIxRDAyOjZCMDRDMTFEIiwidmlzaXRvcl9pZCI6IjU3NDIwNDg2NzI5NjM5MzY1NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 38b1581b33c482fe1ebb52b71abdbf177398d0f71a7ad26d59e5933ac48e38cc |
| hovercard-subject-tag | issue:1315127233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5452/issue_layout |
| twitter:image | https://opengraph.githubassets.com/889ceeb81535e77dcc107a0fc7f964b1038c09639964fa0e471f14bc622df9f6/getsentry/sentry-javascript/issues/5452 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/889ceeb81535e77dcc107a0fc7f964b1038c09639964fa0e471f14bc622df9f6/getsentry/sentry-javascript/issues/5452 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jasonfry |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width