René's URL Explorer Experiment


Title: feat(nextjs): Sourcemaps for custom build directories by iker-barriocanal · Pull Request #4003 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Sourcemaps for custom build directories by iker-barriocanal · Pull Request #4003 · getsentry/sentry-javascript

X Title: feat(nextjs): Sourcemaps for custom build directories by iker-barriocanal · Pull Request #4003 · getsentry/sentry-javascript

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

Open Graph Description: This PR makes the Next.js SDK rewrite at build time the RewriteFrames integration's base path RegExp to the distDir option the user has defined in the Next.js configuration. Why this approach? ...

X Description: This PR makes the Next.js SDK rewrite at build time the RewriteFrames integration's base path RegExp to the distDir option the user has defined in the Next.js configuration. Why this approa...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:649d7ac5-4b84-de52-986a-c4117f5906bb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB98:2876DA:244CB92:2F82C30:6B054B85
html-safe-nonced6dc6f791a56070b7d7c5e5d209469de65cc7d9dea58b73e91ff6be76708d280
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjk4OjI4NzZEQToyNDRDQjkyOjJGODJDMzA6NkIwNTRCODUiLCJ2aXNpdG9yX2lkIjoiNjIwMDY4MTU5MzExNjY0MjE4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2f01b550c909292d2cf983c7a281ccd45ece894c58d177b02eb7c0cd7d315816
hovercard-subject-tagpull_request:740492346
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/4003/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e7d41bc61bdef25cafccb178f212c658dd476f84a57344164047ae6f69d8cc87/getsentry/sentry-javascript/pull/4003
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e7d41bc61bdef25cafccb178f212c658dd476f84a57344164047ae6f69d8cc87/getsentry/sentry-javascript/pull/4003
og:image:altThis PR makes the Next.js SDK rewrite at build time the RewriteFrames integration's base path RegExp to the distDir option the user has defined in the Next.js configuration. Why this approach? ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameiker-barriocanal
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/4003#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F4003
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%2F4003
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/4003
Reloadhttps://github.com/getsentry/sentry-javascript/pull/4003
Reloadhttps://github.com/getsentry/sentry-javascript/pull/4003
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 requests53 (53)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
iker-barriocanalhttps://github.com/iker-barriocanal
masterhttps://github.com/getsentry/sentry-javascript/tree/master
iker/feat/nextjs-distdir-rewriteframeshttps://github.com/getsentry/sentry-javascript/tree/iker/feat/nextjs-distdir-rewriteframes
Conversationhttps://github.com/getsentry/sentry-javascript/pull/4003
Commits12 (12)https://github.com/getsentry/sentry-javascript/pull/4003/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/4003/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/4003/files
feat(nextjs): Sourcemaps for custom build directorieshttps://github.com/getsentry/sentry-javascript/pull/4003#top
iker-barriocanalhttps://github.com/iker-barriocanal
masterhttps://github.com/getsentry/sentry-javascript/tree/master
iker/feat/nextjs-distdir-rewriteframeshttps://github.com/getsentry/sentry-javascript/tree/iker/feat/nextjs-distdir-rewriteframes
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 22, 2021https://github.com/getsentry/sentry-javascript/pull/4003#issue-1004326259
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
https://github.com/iker-barriocanal
feat(nextjs): Sourcemaps for custom build directorieshttps://github.com/getsentry/sentry-javascript/pull/4003/commits/340d830dc4d08a92f1113cd1333f96aa9b3b6a07
340d830https://github.com/getsentry/sentry-javascript/pull/4003/commits/340d830dc4d08a92f1113cd1333f96aa9b3b6a07
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 22, 2021https://github.com/getsentry/sentry-javascript/pull/4003#event-5343379302
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 22, 2021https://github.com/getsentry/sentry-javascript/pull/4003#issuecomment-924964363
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
size-limithttps://github.com/ai/size-limit
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
iker-barriocanalhttps://github.com/iker-barriocanal
September 22, 2021 16:32https://github.com/getsentry/sentry-javascript/pull/4003#commits-pushed-c970f13
https://github.com/iker-barriocanal
fix pathhttps://github.com/getsentry/sentry-javascript/pull/4003/commits/c970f13c1b7211faa1ee8270d9829f59e548ae1b
c970f13https://github.com/getsentry/sentry-javascript/pull/4003/commits/c970f13c1b7211faa1ee8270d9829f59e548ae1b
https://github.com/iker-barriocanal
fix path, again :Dhttps://github.com/getsentry/sentry-javascript/pull/4003/commits/e6b8c89d8dc6936e4cc247c4ea5039cd60b2ea6a
e6b8c89https://github.com/getsentry/sentry-javascript/pull/4003/commits/e6b8c89d8dc6936e4cc247c4ea5039cd60b2ea6a
https://github.com/iker-barriocanal
Don't break tests in special scenarioshttps://github.com/getsentry/sentry-javascript/pull/4003/commits/5a366c5150d2d5a8a2c123c43b509be98a9e3c97
5a366c5https://github.com/getsentry/sentry-javascript/pull/4003/commits/5a366c5150d2d5a8a2c123c43b509be98a9e3c97
https://github.com/iker-barriocanal
Build paths from project root directoryhttps://github.com/getsentry/sentry-javascript/pull/4003/commits/c0fbb21fc9077927dba4eb55951c5563a84238d6
c0fbb21https://github.com/getsentry/sentry-javascript/pull/4003/commits/c0fbb21fc9077927dba4eb55951c5563a84238d6
https://github.com/iker-barriocanal
Add testshttps://github.com/getsentry/sentry-javascript/pull/4003/commits/b70837ac133de6bbd660a1a20d48deeffad28121
b70837ahttps://github.com/getsentry/sentry-javascript/pull/4003/commits/b70837ac133de6bbd660a1a20d48deeffad28121
https://github.com/iker-barriocanal
fix lintinghttps://github.com/getsentry/sentry-javascript/pull/4003/commits/b0da15b0bb317edd52724437b65204cde58570ba
b0da15bhttps://github.com/getsentry/sentry-javascript/pull/4003/commits/b0da15b0bb317edd52724437b65204cde58570ba
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 24, 2021 https://github.com/getsentry/sentry-javascript/pull/4003#ref-issue-956582847
@next/sentry ignores distDir #3854 https://github.com/getsentry/sentry-javascript/issues/3854
iker-barriocanalhttps://github.com/iker-barriocanal
September 24, 2021 12:51https://github.com/getsentry/sentry-javascript/pull/4003#commits-pushed-3a03e22
https://github.com/iker-barriocanal
Test the basepath variable exists in the filehttps://github.com/getsentry/sentry-javascript/pull/4003/commits/3a03e22d9f9528f5086f616d80b6abca2539e751
3a03e22https://github.com/getsentry/sentry-javascript/pull/4003/commits/3a03e22d9f9528f5086f616d80b6abca2539e751
https://github.com/iker-barriocanal
Add docstringshttps://github.com/getsentry/sentry-javascript/pull/4003/commits/deab16028af4a4ca028e520a7a44d0494f6de942
deab160https://github.com/getsentry/sentry-javascript/pull/4003/commits/deab16028af4a4ca028e520a7a44d0494f6de942
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
AbhiPrasadhttps://github.com/AbhiPrasad
lobsterkatiehttps://github.com/lobsterkatie
September 24, 2021 14:01https://github.com/getsentry/sentry-javascript/pull/4003#event-5356307259
iker-barriocanalhttps://github.com/iker-barriocanal
September 24, 2021 16:02https://github.com/getsentry/sentry-javascript/pull/4003#commits-pushed-20b6b9d
https://github.com/iker-barriocanal
Merge branch 'master' into iker/feat/nextjs-distdir-rewriteframeshttps://github.com/getsentry/sentry-javascript/pull/4003/commits/20b6b9dd8617e4d8e1d1c5a8a26b8ea4278bda58
20b6b9dhttps://github.com/getsentry/sentry-javascript/pull/4003/commits/20b6b9dd8617e4d8e1d1c5a8a26b8ea4278bda58
https://github.com/iker-barriocanal
Move the approach reason to another parthttps://github.com/getsentry/sentry-javascript/pull/4003/commits/508d46aef46b530a95ca2622f93233c93f2e7bc1
508d46ahttps://github.com/getsentry/sentry-javascript/pull/4003/commits/508d46aef46b530a95ca2622f93233c93f2e7bc1
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
September 24, 2021 14:26https://github.com/getsentry/sentry-javascript/pull/4003#event-5356466583
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
kamilogorekhttps://github.com/kamilogorek
code ownerhttps://github.com/getsentry/sentry-javascript/blob/d920532f75125d170acbc2e7c5d544d5b8fdb486/.github/CODEOWNERS#L1
September 24, 2021 14:26https://github.com/getsentry/sentry-javascript/pull/4003#event-5356466603
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Sep 27, 2021 https://github.com/getsentry/sentry-javascript/pull/4003#pullrequestreview-764298491
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/4003/files/508d46aef46b530a95ca2622f93233c93f2e7bc1
packages/nextjs/test/config.test.tshttps://github.com/getsentry/sentry-javascript/pull/4003/files/508d46aef46b530a95ca2622f93233c93f2e7bc1#diff-77b0b00c56cf44540996ecbef4caef9f3cf9bf4e9a3176e9d7f028e3b328868d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
packages/nextjs/src/config/webpack.tshttps://github.com/getsentry/sentry-javascript/pull/4003/files/508d46aef46b530a95ca2622f93233c93f2e7bc1#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
AbhiPrasadhttps://github.com/AbhiPrasad
Sep 27, 2021https://github.com/getsentry/sentry-javascript/pull/4003#discussion_r716709927
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 27, 2021https://github.com/getsentry/sentry-javascript/pull/4003#discussion_r716813769
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
AbhiPrasadhttps://github.com/AbhiPrasad
Sep 27, 2021https://github.com/getsentry/sentry-javascript/pull/4003#discussion_r716821836
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
packages/nextjs/src/index.server.tshttps://github.com/getsentry/sentry-javascript/pull/4003/files/508d46aef46b530a95ca2622f93233c93f2e7bc1#diff-0942a26140e4282a046cc2e4bde7cb0ea0170e49b0a52a3f6f3873e4b10367ce
AbhiPrasadhttps://github.com/AbhiPrasad
Sep 27, 2021https://github.com/getsentry/sentry-javascript/pull/4003#discussion_r716730815
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://jestjs.io/docs/snapshot-testinghttps://jestjs.io/docs/snapshot-testing
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 27, 2021https://github.com/getsentry/sentry-javascript/pull/4003#discussion_r716815402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
https://github.com/iker-barriocanal
Use line comment instead of block commenthttps://github.com/getsentry/sentry-javascript/pull/4003/commits/fa2715086720e0a433cfb28acb5fdca03767cab8
fa27150https://github.com/getsentry/sentry-javascript/pull/4003/commits/fa2715086720e0a433cfb28acb5fdca03767cab8
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Sep 27, 2021 https://github.com/getsentry/sentry-javascript/pull/4003#pullrequestreview-764455772
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/4003/files/fa2715086720e0a433cfb28acb5fdca03767cab8
AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/4003#pullrequestreview-764455772
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/4003
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 30, 2021https://github.com/getsentry/sentry-javascript/pull/4003#issuecomment-931262507
#4017https://github.com/getsentry/sentry-javascript/pull/4017
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
Sep 30, 2021https://github.com/getsentry/sentry-javascript/pull/4003#event-5387218881
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
December 10, 2021 09:20https://github.com/getsentry/sentry-javascript/pull/4003#event-5746430887
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%2F4003
https://github.com/lobsterkatie
lobsterkatie https://github.com/lobsterkatie
https://github.com/kamilogorek
kamilogorek https://github.com/kamilogorek
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/4003/files/fa2715086720e0a433cfb28acb5fdca03767cab8
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
https://github.com/iker-barriocanal
iker-barriocanal https://github.com/iker-barriocanal
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/4003
https://github.com/iker-barriocanal
https://github.com/AbhiPrasad
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.