Conversation
📦 Binary Size-limit
🎉 Size decreased by 4.00KB from 68.97MB to 68.96MB (⬇️0.01%) |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
Merging this PR will degrade performance by 2.25%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
3eed5e9 to
ea596dc
Compare
Deploying rspack with
|
| Latest commit: |
865be7e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9a4bad79.rspack-v2.pages.dev |
| Branch Preview URL: | https://codex-url-module-type-probe.rspack-v2.pages.dev |
661d6b4 to
3c8aaf0
Compare
c23c075 to
fff7f98
Compare
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fff7f981a1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 95a67edf81
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7521d1b0c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4006dedda1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
blocked by #15741 |
4006ded to
865be7e
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e10638a52b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Motivation
Support
new URL(..., import.meta.url)references to JavaScript modules through explicit module rules, while preserving the default asset behavior. CSS URL entries are handled separately in #15737 (draft, stacked on this PR).The dependency layout must be decided during the issuer's build, before the module is shared and written to the module build cache. For example,
new URL('./target', import.meta.url)may initially resolve totarget.js, then resolve totarget.txtafter the JavaScript file is removed. An unchanged issuer must not retain an async entry for the former target type.Changes
Arc<BuildContext>, using the BuildContext refactor merged in refactor(core): share BuildContext across module graph tasks #15674.bailbehavior.defaultRuleschanges or URL promotion hook.The probe is an additional factory call: normal factorization still runs afterward, so factory hooks run twice, but the probe does not run the target's build/loaders.
Usage example
Creating the URL does not execute the script, including when the URL is created inside nested
require.ensurecallbacks. It can be used later, for example with<script src>. Without an explicit matching URL rule, the target retains the default asset behavior.Validation
943350fa79, including nested async dependency block support from feat: support nested async dependency blocks #15741.pnpm run build:cli:devpassed.require.ensureregression across all three URL parser modes. Assertions cover nested block ownership, emitted URLs, asset fallback, and non-execution of target scripts.cargo clippy -p rspack_core -p rspack_plugin_javascript --lib -- -D warningspassed.by OpenAI Codex