Title: [nextjs] Improve webpack plugin enablement and warnings · Issue #5619 · getsentry/sentry-javascript · GitHub
Open Graph Title: [nextjs] Improve webpack plugin enablement and warnings · Issue #5619 · getsentry/sentry-javascript
X Title: [nextjs] Improve webpack plugin enablement and warnings · Issue #5619 · getsentry/sentry-javascript
Description: Current as of version 7.11.1 This is a continuation of the conversation started in getsentry/sentry#37649. TL;DR: If, in the nextjs SDK, we enable the webpack plugin in a situation where the user is unlikely to have set up sentry-cli, we...
Open Graph Description: Current as of version 7.11.1 This is a continuation of the conversation started in getsentry/sentry#37649. TL;DR: If, in the nextjs SDK, we enable the webpack plugin in a situation where the user i...
X Description: Current as of version 7.11.1 This is a continuation of the conversation started in getsentry/sentry#37649. TL;DR: If, in the nextjs SDK, we enable the webpack plugin in a situation where the user i...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5619
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[nextjs] Improve webpack plugin enablement and warnings","articleBody":"_Current as of version 7.11.1_\r\n\r\nThis is a continuation of the conversation started in https://github.com/getsentry/sentry/pull/37649. TL;DR: If, in the nextjs SDK, we enable the webpack plugin in a situation where the user is unlikely to have set up `sentry-cli`, we're setting them up for errors.\r\n\r\nThat issue was specifically about the `preview` and `development` environments on Vercel, and that case has been handled in https://github.com/getsentry/sentry-javascript/pull/5603, which will be released in version 7.12. As discussed in the original PR, though, there's more that could be done, which I'm recording here so that the PR can be closed. Specifically:\r\n\r\n- [ ] Investigate if users run into similar problems on other deployment platforms, and if we should therefore expand the [list of checks for webpack plugin enablement](https://github.com/getsentry/sentry-javascript/blob/f411999657f97febe8953078d1ec124f75980f3a/packages/nextjs/src/config/webpack.ts#L455-L496).\r\n- [ ] Figure out ways to either handle the error more gracefully or improve the error messages when the error does happen. This might happen in the nextjs SDK, the webpack plugin itself, or in `sentry-cli`.","author":{"url":"https://github.com/lobsterkatie","@type":"Person","name":"lobsterkatie"},"datePublished":"2022-08-19T20:02:00Z","url":"https://github.com/getsentry/sentry-javascript/issues/5619"}
| 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:6b58c4bd-4637-7a66-347f-8d522e09aa60 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D74:31E3E4:B76AA4:F00350:6B04DBB0 |
| html-safe-nonce | 6701e2695ca985eb1810bda9c79f081a04011c7fc501d6c3ed5c005aa2e892f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDc0OjMxRTNFNDpCNzZBQTQ6RjAwMzUwOjZCMDREQkIwIiwidmlzaXRvcl9pZCI6IjgwMzk5MzMzMDEwNTE2Nzc2MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b441490e01d73eae109d507d9ee34fcbba73e69813127799a8f495782ae54dc6 |
| hovercard-subject-tag | issue:1344849140 |
| 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/5619/issue_layout |
| twitter:image | https://opengraph.githubassets.com/251556d855e6a4374ed1c28b8404602ae392412faa9457725ffb1760902b67f1/getsentry/sentry-javascript/issues/5619 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/251556d855e6a4374ed1c28b8404602ae392412faa9457725ffb1760902b67f1/getsentry/sentry-javascript/issues/5619 |
| og:image:alt | Current as of version 7.11.1 This is a continuation of the conversation started in getsentry/sentry#37649. TL;DR: If, in the nextjs SDK, we enable the webpack plugin in a situation where the user i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lobsterkatie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| 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 | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| 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