René's URL Explorer Experiment


Title: fix(esbuild): handle browser:false stubs in getContents by momomuchu · Pull Request #611 · unjs/unplugin · GitHub

Open Graph Title: fix(esbuild): handle browser:false stubs in getContents by momomuchu · Pull Request #611 · unjs/unplugin

X Title: fix(esbuild): handle browser:false stubs in getContents by momomuchu · Pull Request #611 · unjs/unplugin

Description: Unified plugin system for Vite, Rollup, Webpack, esbuild, Rolldown, and more - fix(esbuild): handle browser:false stubs in getContents by momomuchu · Pull Request #611 · unjs/unplugin

Open Graph Description: The esbuild adapter's getContents() reads args.path with fs.readFile unconditionally. When esbuild resolves a package.json#browser entry mapped to false (a common way to stub a module out for t...

X Description: The esbuild adapter's getContents() reads args.path with fs.readFile unconditionally. When esbuild resolves a package.json#browser entry mapped to false (a common way to stub a module out f...

Opengraph URL: https://github.com/unjs/unplugin/pull/611

X: @github

direct link

Domain: github.com

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:63859bf6-cd98-9f68-c7ab-02a75aafd111
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB63C:281F66:D753E:12355F:6B0062E0
html-safe-noncec64373ff7c3f767a768b6e6f006d8360fcb70046b7a9865079a486a61973f834
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjNDOjI4MUY2NjpENzUzRToxMjM1NUY6NkIwMDYyRTAiLCJ2aXNpdG9yX2lkIjoiNDg5MzE1NjYwMzE4MTY4NzUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac67deac321124bc4683b94aa226fe804a7b40e80818c46dfb3f35fad69ef5f9b7
hovercard-subject-tagpull_request:3991006736
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/unjs/unplugin/611/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/413fb38f8e613ba992db2bb4d6eea41595d42395a8bded31c178e61341c16467/unjs/unplugin/pull/611
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/413fb38f8e613ba992db2bb4d6eea41595d42395a8bded31c178e61341c16467/unjs/unplugin/pull/611
og:image:altThe esbuild adapter's getContents() reads args.path with fs.readFile unconditionally. When esbuild resolves a package.json#browser entry mapped to false (a common way to stub a module out for t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemomomuchu
hostnamegithub.com
expected-hostnamegithub.com
None25854482a1773a7c1ebb8be3d2bc1c6e61d82d78126be63b5044474a86d44d9e
turbo-cache-controlno-cache
go-importgithub.com/unjs/unplugin git https://github.com/unjs/unplugin.git
octolytics-dimension-user_id80154025
octolytics-dimension-user_loginunjs
octolytics-dimension-repository_id385261169
octolytics-dimension-repository_nwounjs/unplugin
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id385261169
octolytics-dimension-repository_network_root_nwounjs/unplugin
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
releasee4f5c239e31f1f680e6bbc419ff92d774da616ec
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/unjs/unplugin/pull/611#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funjs%2Funplugin%2Fpull%2F611
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%2Funjs%2Funplugin%2Fpull%2F611
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=unjs%2Funplugin
Reloadhttps://github.com/unjs/unplugin/pull/611
Reloadhttps://github.com/unjs/unplugin/pull/611
Reloadhttps://github.com/unjs/unplugin/pull/611
unjshttps://github.com/unjs
unpluginhttps://github.com/unjs/unplugin
Codehttps://github.com/unjs/unplugin
Issues33 (33)https://github.com/unjs/unplugin/issues
Pull requests8 (8)https://github.com/unjs/unplugin/pulls
Actionshttps://github.com/unjs/unplugin/actions
Security and qualityhttps://github.com/unjs/unplugin/security
Insightshttps://github.com/unjs/unplugin/insights
https://github.com/unjs/unplugin
antfuhttps://github.com/antfu
unjs:mainhttps://github.com/unjs/unplugin/tree/main
momomuchu:fix/esbuild-getcontents-enoent-browser-546https://github.com/momomuchu/unplugin/tree/fix/esbuild-getcontents-enoent-browser-546
Conversationhttps://github.com/unjs/unplugin/pull/611
Commits3 (3)https://github.com/unjs/unplugin/pull/611/commits
Checkshttps://github.com/unjs/unplugin/pull/611/checks
Files changedhttps://github.com/unjs/unplugin/pull/611/files
fix(esbuild): handle browser:false stubs in getContentshttps://github.com/unjs/unplugin/pull/611#top
antfuhttps://github.com/antfu
unjs:mainhttps://github.com/unjs/unplugin/tree/main
momomuchu:fix/esbuild-getcontents-enoent-browser-546https://github.com/momomuchu/unplugin/tree/fix/esbuild-getcontents-enoent-browser-546
https://github.com/momomuchu
momomuchuhttps://github.com/momomuchu
Jul 4, 2026https://github.com/unjs/unplugin/pull/611#issue-4809541986
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
#546https://github.com/unjs/unplugin/issues/546
#546https://github.com/unjs/unplugin/issues/546
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
https://github.com/momomuchu
fix(esbuild): handle ENOENT in getContents for browser:false stubbed …https://github.com/unjs/unplugin/pull/611/commits/2fbf7b63d55887bc8c08d4909ef186feb42d3f3c
2fbf7b6https://github.com/unjs/unplugin/pull/611/commits/2fbf7b63d55887bc8c08d4909ef186feb42d3f3c
unjs#546https://github.com/unjs/unplugin/issues/546
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 4, 2026https://github.com/unjs/unplugin/pull/611#issuecomment-4882752305
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
https://app.coderabbit.ai/change-stack/unjs/unplugin/pull/611?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
fc41374https://github.com/unjs/unplugin/commit/fc41374ad3ce95446505d8971badeccdf67bab38
615bc9ahttps://github.com/unjs/unplugin/commit/615bc9a5d8b7aa730c5e9f4a937edf914a88b3b8
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=unjs/unplugin&utm_content=611
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 4, 2026 https://github.com/unjs/unplugin/pull/611#pullrequestreview-4629841769
View reviewed changes https://github.com/unjs/unplugin/pull/611/files/2fbf7b63d55887bc8c08d4909ef186feb42d3f3c
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/611#pullrequestreview-4629841769
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
671bdbchttps://github.com/unjs/unplugin/commit/671bdbceb2e9730355bb41f92712ec0f0deadbf0
2fbf7b6https://github.com/unjs/unplugin/commit/2fbf7b63d55887bc8c08d4909ef186feb42d3f3c
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
https://github.com/momomuchu
fix(esbuild): use defined-check for getContents cache, not truthinesshttps://github.com/unjs/unplugin/pull/611/commits/fc41374ad3ce95446505d8971badeccdf67bab38
fc41374https://github.com/unjs/unplugin/pull/611/commits/fc41374ad3ce95446505d8971badeccdf67bab38
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 5, 2026 https://github.com/unjs/unplugin/pull/611#pullrequestreview-4631275857
View reviewed changes https://github.com/unjs/unplugin/pull/611/files/fc41374ad3ce95446505d8971badeccdf67bab38
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/611#pullrequestreview-4631275857
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
2fbf7b6https://github.com/unjs/unplugin/commit/2fbf7b63d55887bc8c08d4909ef186feb42d3f3c
fc41374https://github.com/unjs/unplugin/commit/fc41374ad3ce95446505d8971badeccdf67bab38
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
https://github.com/momomuchu
test(esbuild): extract build helper and restore spy in finallyhttps://github.com/unjs/unplugin/pull/611/commits/615bc9a5d8b7aa730c5e9f4a937edf914a88b3b8
615bc9ahttps://github.com/unjs/unplugin/pull/611/commits/615bc9a5d8b7aa730c5e9f4a937edf914a88b3b8
https://github.com/antfu
antfuhttps://github.com/antfu
low hanging fruit https://github.com/unjs/unplugin/issues?q=state%3Aopen%20label%3A%22low%20hanging%20fruit%22
Oct 26, 2026https://github.com/unjs/unplugin/pull/611#event-34215293328
https://github.com/antfu
antfuhttps://github.com/antfu
efd2d58https://github.com/unjs/unplugin/commit/efd2d58f21f6779219e94b92289ef1de03c5748f
Oct 26, 2026https://github.com/unjs/unplugin/pull/611#event-34215660190
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
docs: add advisor implementation plans from codebase audit #628 https://github.com/unjs/unplugin/pull/628
fix(esbuild,bun): keep empty results, filter by id before reading, normalize hooks once #634 https://github.com/unjs/unplugin/pull/634
https://github.co/hiddenchars
https://github.com/unjs/unplugin/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%2Funjs%2Funplugin%2Fpull%2F611
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/611/files/fc41374ad3ce95446505d8971badeccdf67bab38
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
low hanging fruit https://github.com/unjs/unplugin/issues?q=state%3Aopen%20label%3A%22low%20hanging%20fruit%22
esbuild: Error when trying to load a file switched off by the package.json/browser/*: false https://github.com/unjs/unplugin/issues/546
Please reload this pagehttps://github.com/unjs/unplugin/pull/611
https://github.com/momomuchu
https://github.com/antfu
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

Viewport: width=device-width


URLs of crawlers that visited me.