chore: depreacte experiments.parallelCodeSplitting#12169
Conversation
✅ Deploy Preview for rspack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| ## experiments.parallelCodeSplitting | ||
|
|
||
| <ApiMeta addedVersion="1.2.0" /> | ||
| <ApiMeta deprecatedVersion="1.6.2" /> |
There was a problem hiding this comment.
We can move the deprecated options to the bottom of the page
There was a problem hiding this comment.
There was a problem hiding this comment.
Pull Request Overview
This PR deprecates the experiments.parallelCodeSplitting configuration option due to severe performance regressions in edge cases involving chunk graphs with many cycles. The option will be removed in the next minor version.
Key Changes:
- Added deprecation warnings to the runtime configuration validation
- Updated documentation (English and Chinese) to reflect deprecation status
- Added
@deprecatedJSDoc tags to TypeScript type definitions
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| website/docs/zh/config/experiments.mdx | Updated Chinese documentation to show deprecation warning instead of info notice |
| website/docs/en/config/experiments.mdx | Updated English documentation to show deprecation warning instead of info notice |
| packages/rspack/src/config/types.ts | Added @deprecated JSDoc comment to the parallelCodeSplitting property |
| packages/rspack/src/config/normalization.ts | Added runtime deprecation warning and JSDoc comment to normalized type |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ea71a4f to
ebdaa38
Compare
a3276c6 to
4e6ed34
Compare
📦 Binary Size-limit
🙈 Size remains the same at 48.09MB |
CodSpeed Performance ReportMerging #12169 will not alter performanceComparing Summary
|
Summary
This options is depreacted, it has huge performance regression in some edge cases where the chunk graph has lots of cycles, we'll improve the performance of build_chunk_graph in the future instead.
Related links
Checklist