Skip to content

Conversation

@LingyuCoder
Copy link
Contributor

Summary

Merge latest main to v2

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

hardfist and others added 6 commits January 9, 2026 18:05
* refactor: remove Default trait of DerefOption
* refactor: `replace` is better than `insert`
* feat: rspack_cacheable context expose project root

* fix: comment
…12686)

* feat: add requireRename option to control require variable renaming

* Update packages/rspack/src/config/types.ts

Co-authored-by: Copilot <[email protected]>

* Update tests/rspack-test/configCases/parsing/renaming-disabled/index.js

Co-authored-by: Copilot <[email protected]>

* rename

* rename

---------

Co-authored-by: Copilot <[email protected]>
@netlify
Copy link

netlify bot commented Jan 9, 2026

Deploy Preview for rspack-v2 canceled.

Name Link
🔨 Latest commit 526ac0b
🔍 Latest deploy log https://app.netlify.com/projects/rspack-v2/deploys/6960d47ecf88bd0007c109d3

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

📦 Binary Size-limit

Comparing 526ac0b to feat: add requireAlias option to control require variable renaming (#12686) by harpsealjs

🎉 Size decreased by 358.13KB from 47.88MB to 47.53MB (⬇️0.73%)

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 9, 2026

Merging this PR will not alter performance

Summary

✅ 16 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing chore/update-main (526ac0b) with v2 (45d4892)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Rsdoctor Bundle Diff Analysis

Found 5 projects in monorepo, 3 projects with changes.

📊 Quick Summary
Project Total Size Change
react-10k 5.7 MB -8.0 B (-0.0%)
react-1k 825.4 KB 0
rome 986.0 KB +1.7 KB (0.2%)
react-5k 2.7 MB +1.0 B (0.0%)
ui-components 2.1 MB 0
📋 Detailed Reports (Click to expand)

📁 react-10k

Path: ../build-tools-performance/cases/react-10k/dist/rsdoctor-data.json

📌 Baseline Commit: 6ee0d4b1f0 | PR: #12686

Metric Current Baseline Change
📊 Total Size 5.7 MB 5.7 MB -8.0 B (-0.0%)
📄 JavaScript 5.7 MB 5.7 MB -8.0 B (-0.0%)
🎨 CSS 21.0 B 21.0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: react-10k Bundle Diff

📁 rome

Path: ../build-tools-performance/cases/rome/dist/rsdoctor-data.json

📌 Baseline Commit: 6ee0d4b1f0 | PR: #12686

Metric Current Baseline Change
📊 Total Size 986.0 KB 984.3 KB +1.7 KB (0.2%)
📄 JavaScript 986.0 KB 984.3 KB +1.7 KB (0.2%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: rome Bundle Diff

📁 react-5k

Path: ../build-tools-performance/cases/react-5k/dist/rsdoctor-data.json

📌 Baseline Commit: 6ee0d4b1f0 | PR: #12686

Metric Current Baseline Change
📊 Total Size 2.7 MB 2.7 MB +1.0 B (0.0%)
📄 JavaScript 2.7 MB 2.7 MB +1.0 B (0.0%)
🎨 CSS 21.0 B 21.0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 0 B 0 B 0

📦 Download Diff Report: react-5k Bundle Diff

Generated by Rsdoctor GitHub Action

@chenjiahan chenjiahan merged commit 50af856 into v2 Jan 10, 2026
56 checks passed
@chenjiahan chenjiahan deleted the chore/update-main branch January 10, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants