René's URL Explorer Experiment


Title: fix(nextjs): Differentiate between webpack 4 and 5 in server builds by lobsterkatie · Pull Request #3878 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(nextjs): Differentiate between webpack 4 and 5 in server builds by lobsterkatie · Pull Request #3878 · getsentry/sentry-javascript

X Title: fix(nextjs): Differentiate between webpack 4 and 5 in server builds by lobsterkatie · Pull Request #3878 · getsentry/sentry-javascript

Description: In order to cut down on the number of unnecessary files which get uploaded by the Sentry webpack plugin during nextjs builds, we're quite specific about which filepaths to scan. The change which introduced that specificity missed the fact that under webpack 4, .next/server/chunks is not generated. This leads the Sentry webpack plugin to throw an error when it tries to upload it, even though nothing is actually amiss. This PR fixes that, by checking the webpack version before deciding which files to upload with the plugin.

Open Graph Description: In order to cut down on the number of unnecessary files which get uploaded by the Sentry webpack plugin during nextjs builds, we're quite specific about which filepaths to scan. The change whi...

X Description: In order to cut down on the number of unnecessary files which get uploaded by the Sentry webpack plugin during nextjs builds, we're quite specific about which filepaths to scan. The change...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:fb61aeb9-95bc-f5e5-5667-c9ff60b621fb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4D2:116443:47DA86:6512D9:6B05B673
html-safe-nonce7b811c3bec067fe411d0a92c885f1164b98372b8424cb8cd379f35ed11319581
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEQyOjExNjQ0Mzo0N0RBODY6NjUxMkQ5OjZCMDVCNjczIiwidmlzaXRvcl9pZCI6IjY3MjM5ODQ2OTA1NDM3MDM2NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac81dba9f799eab90bee2670427f84d37f407fe0a7a9782aa78b8a1459992d3992
hovercard-subject-tagpull_request:705569487
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/3878/files
twitter:imagehttps://avatars.githubusercontent.com/u/14812505?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/14812505?s=400&v=4
og:image:altIn order to cut down on the number of unnecessary files which get uploaded by the Sentry webpack plugin during nextjs builds, we're quite specific about which filepaths to scan. The change whi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None106bb568ff143beb0075344f71b9097568f02130f2e85ac7ca2a4b82efb00b47
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb207ef4132553ef1428fae8ca470a518d651ce07
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/3878/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F3878%2Ffiles
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%2F3878%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/3878/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/3878/files
Reloadhttps://github.com/getsentry/sentry-javascript/pull/3878/files
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues330 (330)https://github.com/getsentry/sentry-javascript/issues
Pull requests58 (58)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
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
lobsterkatiehttps://github.com/lobsterkatie
masterhttps://github.com/getsentry/sentry-javascript/tree/master
kmclb-nextjs-no-server-chunks-under-webpack-4https://github.com/getsentry/sentry-javascript/tree/kmclb-nextjs-no-server-chunks-under-webpack-4
Conversation 6 https://github.com/getsentry/sentry-javascript/pull/3878
Commits 2 https://github.com/getsentry/sentry-javascript/pull/3878/commits
Checks 0 https://github.com/getsentry/sentry-javascript/pull/3878/checks
Files changed https://github.com/getsentry/sentry-javascript/pull/3878/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3878/files
fix(nextjs): Differentiate between webpack 4 and 5 in server builds https://github.com/getsentry/sentry-javascript/pull/3878/files#top
Show all changes 2 commits https://github.com/getsentry/sentry-javascript/pull/3878/files
5e608d2 don't try to upload server/chunks if using webpack 4 lobsterkatie Aug 6, 2021 https://github.com/getsentry/sentry-javascript/pull/3878/commits/5e608d2548c83d1bf4de6a4ac1e5f3dff8717e92
f3d187d use full semver version for test lobsterkatie Aug 18, 2021 https://github.com/getsentry/sentry-javascript/pull/3878/commits/f3d187d0299955632c98e6b67aed098ed531e3aa
Clear filters https://github.com/getsentry/sentry-javascript/pull/3878/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3878/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3878/files
CHANGELOG.md https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
types.ts https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-8e3c00802ba457fc07b57c73df10e7719aa757060f8ae47da6329a1d92e08bc4
webpack.ts https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
config.test.ts https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
CHANGELOG.mdhttps://github.com/getsentry/sentry-javascript/pull/3878/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/getsentry/sentry-javascript/blob/f3d187d0299955632c98e6b67aed098ed531e3aa/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/3878/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
packages/nextjs/src/config/types.tshttps://github.com/getsentry/sentry-javascript/pull/3878/files#diff-8e3c00802ba457fc07b57c73df10e7719aa757060f8ae47da6329a1d92e08bc4
View file https://github.com/getsentry/sentry-javascript/blob/f3d187d0299955632c98e6b67aed098ed531e3aa/packages/nextjs/src/config/types.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/3878/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-8e3c00802ba457fc07b57c73df10e7719aa757060f8ae47da6329a1d92e08bc4
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-8e3c00802ba457fc07b57c73df10e7719aa757060f8ae47da6329a1d92e08bc4
packages/nextjs/src/config/webpack.tshttps://github.com/getsentry/sentry-javascript/pull/3878/files#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
View file https://github.com/getsentry/sentry-javascript/blob/f3d187d0299955632c98e6b67aed098ed531e3aa/packages/nextjs/src/config/webpack.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/3878/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
AbhiPrasadhttps://github.com/AbhiPrasad
Aug 6, 2021https://github.com/getsentry/sentry-javascript/pull/3878/files#r684351787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3878/files
lobsterkatiehttps://github.com/lobsterkatie
Aug 18, 2021https://github.com/getsentry/sentry-javascript/pull/3878/files#r690863420
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3878/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3878/files
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
packages/nextjs/test/config.test.tshttps://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
View file https://github.com/getsentry/sentry-javascript/blob/f3d187d0299955632c98e6b67aed098ed531e3aa/packages/nextjs/test/config.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/3878/{{ revealButtonHref }}
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
https://github.com/getsentry/sentry-javascript/pull/3878/files#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
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.