Conversation
✅ Deploy Preview for rspack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR enables the lazy barrel experimental feature by default starting from version 1.6.0. The lazy barrel feature optimizes build performance by skipping the building of unused re-export modules in side-effect-free barrel files.
- Changed the default value of
experiments.lazyBarrelfromfalsetotruein the core configuration - Updated documentation to reflect the new default value and version information
- Removed explicit
lazyBarrel: truesettings from test configurations since it's now the default
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/rspack/src/config/defaults.ts | Updates the default value of experiments.lazyBarrel from false to true |
| tests/rspack-test/defaultsCases/default/base.js | Updates test expectation to reflect the new default value |
| website/docs/zh/config/experiments.mdx | Updates Chinese documentation with new default value and version note |
| website/docs/en/config/experiments.mdx | Updates English documentation with new default value and version note |
| packages/rspack-test-tools/src/case/*.ts | Removes explicit lazyBarrel: true from test configurations (8 files) |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
📦 Binary Size-limit
🙈 Size remains the same at 47.89MB |
CodSpeed Performance ReportMerging #11841 will not alter performanceComparing Summary
|
Summary
Enable lazy barrel by default for v1.6
Related links
Checklist