Repository navigation
Conversation
Deploying rspack with
|
| Latest commit: |
edb990d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://47db4907.rspack-v2.pages.dev |
| Branch Preview URL: | https://codex-import-meta-glob-alias.rspack-v2.pages.dev |
📦 Binary Size-limit
❌ Size increased by 20.00KB from 67.19MB to 67.21MB (⬆️0.03%) |
Rsdoctor Bundle Diff Analysis
Found 5 projects in monorepo, 0 projects with changes. 📊 Quick Summary
Generated by Rsdoctor GitHub Action |
Merging this PR will degrade performance by 2.04%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
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: edb990d853
ℹ️ 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: c6ed684b75
ℹ️ 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: f07988586f
ℹ️ 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".
| if *query != resource.query { | ||
| query.clear(); | ||
| } | ||
| if *fragment != resource.fragment { | ||
| fragment.clear(); |
There was a problem hiding this comment.
Preserve suffixes for each aliased pattern
When positive patterns use aliases with different queries or fragments (for example, raw -> dirA?raw and url -> dirB?url), this merge clears the differing component and the context subsequently applies the final scan directory's suffix—usually empty—to every matched module. Although the new common-suffix handling fixes the single/common-alias case, this means loaders for both patterns lose their alias-specific resource suffixes; these patterns need separate suffix handling, such as separate contexts or per-match metadata.
Useful? React with 👍 / 👎.
Motivation
Follow-up to #15898. Resolving aliases from the compiled scan request loses information needed by negative patterns, mixed patterns, and
caseSensitive: false.For example, with
@ -> <root>/src:Previously, only the positive pattern was rewritten, so
excluded.jswas still imported. Alias targets such assrc/[dir]were also interpreted as glob syntax, andalias: { dir: [] }incorrectly changed a localdir/*.jsrequest into a module request.Changes
*.mjswith?raw, ignored/exact aliases, and explicit./@/...paths. Update English and Chinese docs.Validation: binding and JS builds; context config suites in standard/runtime modes (62 passed); existing normal context suites (100 passed);
cargo clippy -p rspack_core --all-targets -- --deny warnings; formatting and pre-commit checks.by OpenAI Codex