René's URL Explorer Experiment


Title: fix(nextjs): Don't run webpack plugin on non-prod Vercel deployments by lobsterkatie · Pull Request #5603 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(nextjs): Don't run webpack plugin on non-prod Vercel deployments by lobsterkatie · Pull Request #5603 · getsentry/sentry-javascript

X Title: fix(nextjs): Don't run webpack plugin on non-prod Vercel deployments by lobsterkatie · Pull Request #5603 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: When someone adds our Vercel integration, it only adds sentry-cli-relevant environment variables to production deployments. This can cause non-production deployments to fail, because when the webpa...

X Description: When someone adds our Vercel integration, it only adds sentry-cli-relevant environment variables to production deployments. This can cause non-production deployments to fail, because when the webpa...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/5603

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8bd32e11-bce3-68d6-d517-9a1ecf614a44
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB534:E0CE1:C2FB0D:FFC629:6B04E104
html-safe-nonce0ccb1f624976a51d4b59fcb6ae08dcee7502042ce0abfa9d50312e2725218b57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTM0OkUwQ0UxOkMyRkIwRDpGRkM2Mjk6NkIwNEUxMDQiLCJ2aXNpdG9yX2lkIjoiNTI4MzI4NDA1MTkzNDEwOTk1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8d4d2245f40d7c50f08c9bef4c8ff4897b080076a9636097c3a56e848b297133
hovercard-subject-tagpull_request:1029527873
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/5603/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ddd991e8db2a337179a3e566550139e4138b0fd184dafaf73570053bd6a24cae/getsentry/sentry-javascript/pull/5603
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ddd991e8db2a337179a3e566550139e4138b0fd184dafaf73570053bd6a24cae/getsentry/sentry-javascript/pull/5603
og:image:altWhen someone adds our Vercel integration, it only adds sentry-cli-relevant environment variables to production deployments. This can cause non-production deployments to fail, because when the webpa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelobsterkatie
hostnamegithub.com
expected-hostnamegithub.com
None970f03f35f02bb123d2b6f1884601d89a570dc02e5ef9612b1b6ca5c033b1796
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseebcec4199c8521b643c068ef118a1ba9a43b678a
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/5603#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F5603
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F5603
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5603
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5603
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5603
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests51 (51)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
lobsterkatiehttps://github.com/lobsterkatie
masterhttps://github.com/getsentry/sentry-javascript/tree/master
kmclb-nextjs-disable-webpack-plugin-for-non-prod-vercel-deploymentshttps://github.com/getsentry/sentry-javascript/tree/kmclb-nextjs-disable-webpack-plugin-for-non-prod-vercel-deployments
Conversationhttps://github.com/getsentry/sentry-javascript/pull/5603
Commits6 (6)https://github.com/getsentry/sentry-javascript/pull/5603/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/5603/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/5603/files
fix(nextjs): Don't run webpack plugin on non-prod Vercel deploymentshttps://github.com/getsentry/sentry-javascript/pull/5603#top
lobsterkatiehttps://github.com/lobsterkatie
masterhttps://github.com/getsentry/sentry-javascript/tree/master
kmclb-nextjs-disable-webpack-plugin-for-non-prod-vercel-deploymentshttps://github.com/getsentry/sentry-javascript/tree/kmclb-nextjs-disable-webpack-plugin-for-non-prod-vercel-deployments
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
Aug 18, 2022https://github.com/getsentry/sentry-javascript/pull/5603#issue-1342568047
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
the VERCEL_ENV env variablehttps://vercel.com/docs/concepts/projects/environment-variables#system-environment-variables
getsentry/sentry#37649https://github.com/getsentry/sentry/pull/37649
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
Aug 18, 2022 https://github.com/getsentry/sentry-javascript/pull/5603#ref-pullrequest-1334423023
fix(vercel): add sentry env vars to all default environments in Vercel getsentry/sentry#37649 https://github.com/getsentry/sentry/pull/37649
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 18, 2022https://github.com/getsentry/sentry-javascript/pull/5603#issuecomment-1219047581
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
https://github.com/vladanpaunovic
vladanpaunovichttps://github.com/vladanpaunovic
Aug 18, 2022 https://github.com/getsentry/sentry-javascript/pull/5603#pullrequestreview-1076870624
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5603/files
vladanpaunovichttps://github.com/vladanpaunovic
https://github.com/getsentry/sentry-javascript/pull/5603#pullrequestreview-1076870624
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@lobsterkatiehttps://github.com/lobsterkatie
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
packages/nextjs/src/config/webpack.tshttps://github.com/getsentry/sentry-javascript/pull/5603/files#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/39fc0be09341346acac70556f51d77408f796b8d..003a6ec1453c054e8a5b6bfcb3debc3b0a97ca88
39fc0behttps://github.com/getsentry/sentry-javascript/commit/39fc0be09341346acac70556f51d77408f796b8d
003a6echttps://github.com/getsentry/sentry-javascript/commit/003a6ec1453c054e8a5b6bfcb3debc3b0a97ca88
Compare https://github.com/getsentry/sentry-javascript/compare/39fc0be09341346acac70556f51d77408f796b8d..003a6ec1453c054e8a5b6bfcb3debc3b0a97ca88
August 18, 2022 23:03https://github.com/getsentry/sentry-javascript/pull/5603#event-7218184471
https://github.com/vladanpaunovic
vladanpaunovichttps://github.com/vladanpaunovic
Aug 19, 2022 https://github.com/getsentry/sentry-javascript/pull/5603#pullrequestreview-1078508927
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5603/files
vladanpaunovichttps://github.com/vladanpaunovic
https://github.com/getsentry/sentry-javascript/pull/5603#pullrequestreview-1078508927
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@lobsterkatiehttps://github.com/lobsterkatie
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/70bdd0cebd65684c70489ce396a6b82ead05885c..6d723d90ae4fb13b6fa256ac2ad244be6b19f6e5
70bdd0chttps://github.com/getsentry/sentry-javascript/commit/70bdd0cebd65684c70489ce396a6b82ead05885c
6d723d9https://github.com/getsentry/sentry-javascript/commit/6d723d90ae4fb13b6fa256ac2ad244be6b19f6e5
Compare https://github.com/getsentry/sentry-javascript/compare/70bdd0cebd65684c70489ce396a6b82ead05885c..6d723d90ae4fb13b6fa256ac2ad244be6b19f6e5
August 19, 2022 19:12https://github.com/getsentry/sentry-javascript/pull/5603#event-7224514687
lobsterkatiehttps://github.com/lobsterkatie
August 19, 2022 12:14https://github.com/getsentry/sentry-javascript/pull/5603#commits-pushed-e126a89
https://github.com/lobsterkatie
add docstring for disableServerWebpackPlugin and `disableClientWebp…https://github.com/getsentry/sentry-javascript/pull/5603/commits/e126a895ec34dca876f760dd0db4e0e47f5242b7
e126a89https://github.com/getsentry/sentry-javascript/pull/5603/commits/e126a895ec34dca876f760dd0db4e0e47f5242b7
https://github.com/lobsterkatie
move webpack plugin enablement check to functionhttps://github.com/getsentry/sentry-javascript/pull/5603/commits/14cc7955c341512745cfd26fd29afb82709cf223
14cc795https://github.com/getsentry/sentry-javascript/pull/5603/commits/14cc7955c341512745cfd26fd29afb82709cf223
https://github.com/lobsterkatie
allow users to force-enable pluginhttps://github.com/getsentry/sentry-javascript/pull/5603/commits/47df4de752d6fcd0c1e5882a14363466fad223ef
47df4dehttps://github.com/getsentry/sentry-javascript/pull/5603/commits/47df4de752d6fcd0c1e5882a14363466fad223ef
https://github.com/lobsterkatie
disable plugin in non-prod vercel environmentshttps://github.com/getsentry/sentry-javascript/pull/5603/commits/20ca01e950055943806f4b8c0ea2ec177667eeca
20ca01ehttps://github.com/getsentry/sentry-javascript/pull/5603/commits/20ca01e950055943806f4b8c0ea2ec177667eeca
https://github.com/lobsterkatie
add testshttps://github.com/getsentry/sentry-javascript/pull/5603/commits/ba459c40f222949f141c257de563255013ef75ef
ba459c4https://github.com/getsentry/sentry-javascript/pull/5603/commits/ba459c40f222949f141c257de563255013ef75ef
https://github.com/lobsterkatie
add note to changeloghttps://github.com/getsentry/sentry-javascript/pull/5603/commits/ee43f3c765037325597253475b7282a3c12fd729
ee43f3chttps://github.com/getsentry/sentry-javascript/pull/5603/commits/ee43f3c765037325597253475b7282a3c12fd729
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/6d723d90ae4fb13b6fa256ac2ad244be6b19f6e5..ee43f3c765037325597253475b7282a3c12fd729
6d723d9https://github.com/getsentry/sentry-javascript/commit/6d723d90ae4fb13b6fa256ac2ad244be6b19f6e5
ee43f3chttps://github.com/getsentry/sentry-javascript/commit/ee43f3c765037325597253475b7282a3c12fd729
Compare https://github.com/getsentry/sentry-javascript/compare/6d723d90ae4fb13b6fa256ac2ad244be6b19f6e5..ee43f3c765037325597253475b7282a3c12fd729
August 19, 2022 19:14https://github.com/getsentry/sentry-javascript/pull/5603#event-7224528831
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
f411999https://github.com/getsentry/sentry-javascript/commit/f411999657f97febe8953078d1ec124f75980f3a
Aug 19, 2022https://github.com/getsentry/sentry-javascript/pull/5603#event-7224751100
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
August 19, 2022 20:00https://github.com/getsentry/sentry-javascript/pull/5603#event-7224751170
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
Aug 19, 2022 https://github.com/getsentry/sentry-javascript/pull/5603#ref-issue-1344849140
[nextjs] Improve webpack plugin enablement and warnings #5619 https://github.com/getsentry/sentry-javascript/issues/5619
[nextjs] Document behavior on Vercel getsentry/sentry-docs#5690 https://github.com/getsentry/sentry-docs/issues/5690
@sentry/nextjs: hideSourceMaps: false doesn't work for vercel previews #6035 https://github.com/getsentry/sentry-javascript/issues/6035
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F5603
https://github.com/vladanpaunovic
vladanpaunovic https://github.com/vladanpaunovic
https://github.com/getsentry/sentry-javascript/pull/5603/files/003a6ec1453c054e8a5b6bfcb3debc3b0a97ca88
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5603
https://github.com/lobsterkatie
https://github.com/vladanpaunovic
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.