René's URL Explorer Experiment


Title: fix(react): Fix React jsx runtime import for esm by lforst · Pull Request #12740 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(react): Fix React jsx runtime import for esm by lforst · Pull Request #12740 · getsentry/sentry-javascript

X Title: fix(react): Fix React jsx runtime import for esm by lforst · Pull Request #12740 · getsentry/sentry-javascript

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

Open Graph Description: Fixes #12608 Sucrase injects a "react/jsx-runtime" import, however, ESM requires this to end in .js because the react package doesn't have an exports field. With this PR we rewrite th...

X Description: Fixes #12608 Sucrase injects a "react/jsx-runtime" import, however, ESM requires this to end in .js because the react package doesn't have an exports field. With this PR w...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:9e7c6102-342a-893a-bafb-632d60c97c3b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDE2:1F1B5:1170AF:184A4A:6B040324
html-safe-nonce37769c918f97dd08d7df8f17b001a1092b20524da614e36ac15fabbf7a5978b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREUyOjFGMUI1OjExNzBBRjoxODRBNEE6NkIwNDAzMjQiLCJ2aXNpdG9yX2lkIjoiODg4NzA4NDI2ODQwMTE5Nzg2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4c6a2d9874edf627c3bbe734b3780b4719a4dedb1853b755a4a1cbc4b28b0f99
hovercard-subject-tagpull_request:1951577300
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/12740/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d33c5fe1f8a14f53793af3394eb95cab77173cb9a0bd1aab37b2ab24cf5bf252/getsentry/sentry-javascript/pull/12740
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d33c5fe1f8a14f53793af3394eb95cab77173cb9a0bd1aab37b2ab24cf5bf252/getsentry/sentry-javascript/pull/12740
og:image:altFixes #12608 Sucrase injects a "react/jsx-runtime" import, however, ESM requires this to end in .js because the react package doesn't have an exports field. With this PR we rewrite th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/12740#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F12740
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%2F12740
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/12740
Reloadhttps://github.com/getsentry/sentry-javascript/pull/12740
Reloadhttps://github.com/getsentry/sentry-javascript/pull/12740
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues343 (343)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
https://github.com/getsentry/sentry-javascript
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-fix-react-jsx-runtime-import-for-esmhttps://github.com/getsentry/sentry-javascript/tree/lforst-fix-react-jsx-runtime-import-for-esm
Conversationhttps://github.com/getsentry/sentry-javascript/pull/12740
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/12740/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/12740/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/12740/files
fix(react): Fix React jsx runtime import for esmhttps://github.com/getsentry/sentry-javascript/pull/12740#top
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-fix-react-jsx-runtime-import-for-esmhttps://github.com/getsentry/sentry-javascript/tree/lforst-fix-react-jsx-runtime-import-for-esm
https://github.com/lforst
lforsthttps://github.com/lforst
Jul 3, 2024https://github.com/getsentry/sentry-javascript/pull/12740#issue-2388560870
#12608https://github.com/getsentry/sentry-javascript/issues/12608
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/12740
fix(react): Fix React jsx runtime import for esmhttps://github.com/getsentry/sentry-javascript/pull/12740/commits/0cb100fddfa672a4115a61ed66c08ff979c7aa36
0cb100fhttps://github.com/getsentry/sentry-javascript/pull/12740/commits/0cb100fddfa672a4115a61ed66c08ff979c7aa36
https://github.com/lforst
lforsthttps://github.com/lforst
andreiborzahttps://github.com/andreiborza
July 3, 2024 12:55https://github.com/getsentry/sentry-javascript/pull/12740#event-13380273339
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Jul 3, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#pullrequestreview-2156456099
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/12740/files/9e2565260cc3428937c52adff099c9dae2bf7d23
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/12740#pullrequestreview-2156456099
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/12740
Merge branch 'develop' into lforst-fix-react-jsx-runtime-import-for-esmhttps://github.com/getsentry/sentry-javascript/pull/12740/commits/9e2565260cc3428937c52adff099c9dae2bf7d23
9e25652https://github.com/getsentry/sentry-javascript/pull/12740/commits/9e2565260cc3428937c52adff099c9dae2bf7d23
https://github.com/lforst
lforsthttps://github.com/lforst
071adaehttps://github.com/getsentry/sentry-javascript/commit/071adae8627ac63639b1a1c18a7fd039c1de7a95
Jul 3, 2024https://github.com/getsentry/sentry-javascript/pull/12740#event-13382443013
https://github.com/lforst
lforsthttps://github.com/lforst
July 3, 2024 15:15https://github.com/getsentry/sentry-javascript/pull/12740#event-13382443583
https://github.com/lforst
lforsthttps://github.com/lforst
Jul 4, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2390433227
fix(react): Fix jsx runtime rewrite #12754 https://github.com/getsentry/sentry-javascript/pull/12754
https://github.com/alexandersorokin
alexandersorokinhttps://github.com/alexandersorokin
Jul 4, 2024https://github.com/getsentry/sentry-javascript/pull/12740#issuecomment-2208672748
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/12740
https://www.npmjs.com/package/react?activeTab=codehttps://www.npmjs.com/package/react?activeTab=code
https://private-user-images.githubusercontent.com/11489679/345802693-7752115f-003b-4474-9c46-3655766caaeb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0MjUzNjEsIm5iZiI6MTc5NTQyNTA2MSwicGF0aCI6Ii8xMTQ4OTY3OS8zNDU4MDI2OTMtNzc1MjExNWYtMDAzYi00NDc0LTljNDYtMzY1NTc2NmNhYWViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDA5MTEwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNhMmI3MDVhNzA3MjczNzZiNDY0Y2RmYmJiNzQ3ZTUwM2I5MmZkZjcwZWY1MGVhMDRlNzM2ZjI0NGZlZWI1NWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.9ptgkINjjNGq94d9hbGjU-zivCC3DIAyhwYYfEUcMJo
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/12740
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Jul 5, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2392008050
fix(react): Revert back to jsxRuntime: 'classic' to prevent breaking react 17 #12775 https://github.com/getsentry/sentry-javascript/pull/12775
andreiborzahttps://github.com/andreiborza
Jul 5, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-commit-69b6531
https://github.com/andreiborza
fix(react): Revert back to jsxRuntime: 'classic' to prevent breakin…https://github.com/getsentry/sentry-javascript/commit/69b65312689acab9667f8a570cf253f2733ae8e0
69b6531https://github.com/getsentry/sentry-javascript/commit/69b65312689acab9667f8a570cf253f2733ae8e0
#12775https://github.com/getsentry/sentry-javascript/pull/12775
#12204https://github.com/getsentry/sentry-javascript/pull/12204
#12740https://github.com/getsentry/sentry-javascript/pull/12740
#12608https://github.com/getsentry/sentry-javascript/issues/12608
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Jul 5, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2392168842
chore(e2e): Add react-17 e2e test app #12778 https://github.com/getsentry/sentry-javascript/pull/12778
andreiborzahttps://github.com/andreiborza
Jul 5, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-commit-f4e7203
https://github.com/andreiborza
chore(e2e): Add react-17 e2e test app (https://github.com/getsentry/sentry-javascript/commit/f4e720347c4d45bc67efa5b2f0e3144895ed1057
#12778https://github.com/getsentry/sentry-javascript/pull/12778
)https://github.com/getsentry/sentry-javascript/commit/f4e720347c4d45bc67efa5b2f0e3144895ed1057
f4e7203https://github.com/getsentry/sentry-javascript/commit/f4e720347c4d45bc67efa5b2f0e3144895ed1057
#12608https://github.com/getsentry/sentry-javascript/issues/12608
#12204https://github.com/getsentry/sentry-javascript/pull/12204
#12740https://github.com/getsentry/sentry-javascript/pull/12740
https://github.com/TheSlimvReal
TheSlimvRealhttps://github.com/TheSlimvReal
Jul 25, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2429519452
[Snyk] Upgrade @sentry/browser from 8.13.0 to 8.14.0 Aam-Digital/ndb-core#2477 https://github.com/Aam-Digital/ndb-core/pull/2477
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.14.0 https-quantumblockchainai-atlassian-net/ossinsight#781 https://github.com/https-quantumblockchainai-atlassian-net/ossinsight/pull/781
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.15.0 https-quantumblockchainai-atlassian-net/ossinsight#783 https://github.com/https-quantumblockchainai-atlassian-net/ossinsight/pull/783
https://github.com/amykapernick
amykapernickhttps://github.com/amykapernick
Jul 27, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2433410171
[Snyk] Upgrade @sentry/nextjs from 8.14.0 to 8.15.0 amykapernick/wedding#11 https://github.com/amykapernick/wedding/pull/11
https://github.com/aam-digital-ci
aam-digital-cihttps://github.com/aam-digital-ci
Jul 27, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2433440669
[Snyk] Upgrade @sentry/browser from 8.13.0 to 8.15.0 Aam-Digital/ndb-core#2482 https://github.com/Aam-Digital/ndb-core/pull/2482
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.16.0 https-quantumblockchainai-atlassian-net/ossinsight#787 https://github.com/https-quantumblockchainai-atlassian-net/ossinsight/pull/787
[Snyk] Upgrade @sentry/react from 7.16.0 to 8.17.0 https-quantumblockchainai-atlassian-net/ossinsight#791 https://github.com/https-quantumblockchainai-atlassian-net/ossinsight/pull/791
https://github.com/amykapernick
amykapernickhttps://github.com/amykapernick
Aug 1, 2024 https://github.com/getsentry/sentry-javascript/pull/12740#ref-pullrequest-2441830696
[Snyk] Upgrade @sentry/nextjs from 8.14.0 to 8.17.0 amykapernick/wedding#12 https://github.com/amykapernick/wedding/pull/12
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%2F12740
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/12740/files/9e2565260cc3428937c52adff099c9dae2bf7d23
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/12740
Can't resolve 'react/jsx-runtime' in xxx/node_modules/@sentry/react/esm https://github.com/getsentry/sentry-javascript/issues/12608
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/12740
https://github.com/lforst
https://github.com/alexandersorokin
https://github.com/andreiborza
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.