René's URL Explorer Experiment


Title: fix(webpack,rspack): keep the module type of real files in the load rule by TonyTech404 · Pull Request #639 · unjs/unplugin · GitHub

Open Graph Title: fix(webpack,rspack): keep the module type of real files in the load rule by TonyTech404 · Pull Request #639 · unjs/unplugin

X Title: fix(webpack,rspack): keep the module type of real files in the load rule by TonyTech404 · Pull Request #639 · unjs/unplugin

Description: Unified plugin system for Vite, Rollup, Webpack, esbuild, Rolldown, and more - fix(webpack,rspack): keep the module type of real files in the load rule by TonyTech404 · Pull Request #639 · unjs/unplugin

Open Graph Description: resolves #638 The load rule forced type: 'javascript/auto' on every module it matched. With an unfiltered load hook that is every module, and the rule sits after the default rules, so .json...

X Description: resolves #638 The load rule forced type: 'javascript/auto' on every module it matched. With an unfiltered load hook that is every module, and the rule sits after the default rules, ...

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

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:2862a450-69b1-b162-6d94-efed2488ba8e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC796:78AB8:1237FF:198888:6B006429
html-safe-nonce8659c31f56e7c2029fad93ad9202ff8911bef143267a0c3e73adcf5ee94f58d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzk2Ojc4QUI4OjEyMzdGRjoxOTg4ODg6NkIwMDY0MjkiLCJ2aXNpdG9yX2lkIjoiODQ0MDE3ODgzODA1NDM5Njk2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0ec18b731ed8385028933d5190f097d2f65eaff00ddbe2ba0ea93dcb7fea75f7
hovercard-subject-tagpull_request:5105038159
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/639/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/09c5f7495746e0acdff6efca9de40387c57b3b6d2b70f98ca855fc9967c26214/unjs/unplugin/pull/639
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/09c5f7495746e0acdff6efca9de40387c57b3b6d2b70f98ca855fc9967c26214/unjs/unplugin/pull/639
og:image:altresolves #638 The load rule forced type: 'javascript/auto' on every module it matched. With an unfiltered load hook that is every module, and the rule sits after the default rules, so .json...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTonyTech404
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/639#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funjs%2Funplugin%2Fpull%2F639
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%2F639
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/639
Reloadhttps://github.com/unjs/unplugin/pull/639
Reloadhttps://github.com/unjs/unplugin/pull/639
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
TonyTech404https://github.com/TonyTech404
unjs:mainhttps://github.com/unjs/unplugin/tree/main
TonyTech404:fix/load-keeps-module-typehttps://github.com/TonyTech404/unplugin/tree/fix/load-keeps-module-type
Conversationhttps://github.com/unjs/unplugin/pull/639
Commits3 (3)https://github.com/unjs/unplugin/pull/639/commits
Checkshttps://github.com/unjs/unplugin/pull/639/checks
Files changedhttps://github.com/unjs/unplugin/pull/639/files
fix(webpack,rspack): keep the module type of real files in the load rulehttps://github.com/unjs/unplugin/pull/639#top
TonyTech404https://github.com/TonyTech404
unjs:mainhttps://github.com/unjs/unplugin/tree/main
TonyTech404:fix/load-keeps-module-typehttps://github.com/TonyTech404/unplugin/tree/fix/load-keeps-module-type
https://github.com/TonyTech404
TonyTech404https://github.com/TonyTech404
Nov 1, 2026https://github.com/unjs/unplugin/pull/639#issue-6144055660
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
#638https://github.com/unjs/unplugin/issues/638
fix: undetermistic module type for virtual module #411https://github.com/unjs/unplugin/pull/411
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
https://github.com/TonyTech404
fix(webpack,rspack): keep the module type of real files in the load rulehttps://github.com/unjs/unplugin/pull/639/commits/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9
05d27e3https://github.com/unjs/unplugin/pull/639/commits/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026https://github.com/unjs/unplugin/pull/639#issuecomment-6554467043
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
https://app.coderabbit.ai/change-stack/unjs/unplugin/pull/639?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
Evaluate load eligibility once per resource.https://github.com/unjs/unplugin/pull/639#discussion_r4434724527
https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667
Treat empty ID filters as unfiltered.https://github.com/unjs/unplugin/pull/639#discussion_r4434724526
https://camo.githubusercontent.com/255657ba84d88a4bd22be48867207222b7d50c83d252fd704689ff6417f2e0ca/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7265766965772d66696e64696e672d6261646765732d76312f726f772d7370616365722e737667
f5e1227https://github.com/unjs/unplugin/commit/f5e1227592a79a9a2a3cb2107fabd886ae700df7
91219c2https://github.com/unjs/unplugin/commit/91219c21394ff2fef64f2350bee1ee94a7150d36
https://camo.githubusercontent.com/8f159bbb8848bd140c752331ef9b58f49be054035a4d90b12ab90a8478776bde/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7761726e696e672e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=unjs/unplugin&utm_content=639
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/639
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026 https://github.com/unjs/unplugin/pull/639#pullrequestreview-5726859583
View reviewed changes https://github.com/unjs/unplugin/pull/639/files/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/639#pullrequestreview-5726859583
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
5daf6e6https://github.com/unjs/unplugin/commit/5daf6e6510137ebe4f22cbe3fad4cc5a912de8e6
05d27e3https://github.com/unjs/unplugin/commit/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
src/webpack/index.tshttps://github.com/unjs/unplugin/pull/639/files/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9#diff-89d500a4deba0178787b97062fb40602e17d7e79d664e88667ad02376a02a90f
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
src/webpack/index.tshttps://github.com/unjs/unplugin/pull/639/files/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9#diff-89d500a4deba0178787b97062fb40602e17d7e79d664e88667ad02376a02a90f
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
TonyTech404https://github.com/TonyTech404
November 1, 2026 14:51https://github.com/unjs/unplugin/pull/639#commits-pushed-f5e1227
https://github.com/TonyTech404
fix(webpack): do not type a real file that shares the virtual prefix …https://github.com/unjs/unplugin/pull/639/commits/f5e1227592a79a9a2a3cb2107fabd886ae700df7
f5e1227https://github.com/unjs/unplugin/pull/639/commits/f5e1227592a79a9a2a3cb2107fabd886ae700df7
https://github.com/TonyTech404
fix(webpack,rspack): keep javascript/auto for real files when load is…https://github.com/unjs/unplugin/pull/639/commits/91219c21394ff2fef64f2350bee1ee94a7150d36
91219c2https://github.com/unjs/unplugin/pull/639/commits/91219c21394ff2fef64f2350bee1ee94a7150d36
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026 https://github.com/unjs/unplugin/pull/639#pullrequestreview-5726908319
View reviewed changes https://github.com/unjs/unplugin/pull/639/files/f5e1227592a79a9a2a3cb2107fabd886ae700df7
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/639#pullrequestreview-5726908319
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
05d27e3https://github.com/unjs/unplugin/commit/05d27e3febfb0ee77930b7c5e73bd5f3e03d6ca9
f5e1227https://github.com/unjs/unplugin/commit/f5e1227592a79a9a2a3cb2107fabd886ae700df7
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
src/webpack/index.tshttps://github.com/unjs/unplugin/pull/639/files/f5e1227592a79a9a2a3cb2107fabd886ae700df7#diff-89d500a4deba0178787b97062fb40602e17d7e79d664e88667ad02376a02a90f
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026https://github.com/unjs/unplugin/pull/639#discussion_r4434710627
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
test/unit-tests/module-type/module-type.test.tshttps://github.com/unjs/unplugin/pull/639/files/f5e1227592a79a9a2a3cb2107fabd886ae700df7#diff-c473f5a575b0ff5cb4f197307f5bb85f9eac383e4313ddf808f16f3d2aa01aab
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026https://github.com/unjs/unplugin/pull/639#discussion_r4434710628
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026 https://github.com/unjs/unplugin/pull/639#pullrequestreview-5726929385
View reviewed changes https://github.com/unjs/unplugin/pull/639/files/91219c21394ff2fef64f2350bee1ee94a7150d36
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/639#pullrequestreview-5726929385
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
f5e1227https://github.com/unjs/unplugin/commit/f5e1227592a79a9a2a3cb2107fabd886ae700df7
91219c2https://github.com/unjs/unplugin/commit/91219c21394ff2fef64f2350bee1ee94a7150d36
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
src/utils/webpack-like.tshttps://github.com/unjs/unplugin/pull/639/files/91219c21394ff2fef64f2350bee1ee94a7150d36#diff-7a936dba62e9f81ea77a6883e9ba951429d020fa036b2337d1adb4a2ac3c3f61
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026https://github.com/unjs/unplugin/pull/639#discussion_r4434724526
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
src/webpack/index.tshttps://github.com/unjs/unplugin/pull/639/files/91219c21394ff2fef64f2350bee1ee94a7150d36#diff-89d500a4deba0178787b97062fb40602e17d7e79d664e88667ad02376a02a90f
coderabbitaihttps://github.com/apps/coderabbitai
Nov 1, 2026https://github.com/unjs/unplugin/pull/639#discussion_r4434724527
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
https://github.com/AronSoto
AronSotohttps://github.com/AronSoto
Nov 3, 2026 https://github.com/unjs/unplugin/pull/639#ref-pullrequest-6177385264
fix(webpack,rspack): build the virtual module prefix on the real path of the context #641 https://github.com/unjs/unplugin/pull/641
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%2F639
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/unjs/unplugin/pull/639/files/91219c21394ff2fef64f2350bee1ee94a7150d36
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
webpack/rspack: unfiltered load hook turns .json files into javascript/auto https://github.com/unjs/unplugin/issues/638
Please reload this pagehttps://github.com/unjs/unplugin/pull/639
https://github.com/TonyTech404
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.