feat(rspack): implement addEntry, succeedEntry & failedEntry hooks
Summary
Adds the missing compiler.hooks.addEntry, compiler.hooks.succeedEntry, and compiler.hooks.failedEntry to rspack.
- Problem solved: Restores correct progress reporting and lets existing webpack plugins work in rspack without modification, advancing API parity.
close #3523 close #3524 close #3525
Checklist
- [x] Tests updated (or not required).
- [x] Documentation updated (or not required).
Deploy Preview for rspack canceled.
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | 4c9cf16cc409094b6d926258b7a5e72eb5521707 |
| Latest deploy log | https://app.netlify.com/projects/rspack/deploys/68ff191b5818be0008d00797 |
@SyMind cc
Lack of unit testing.
Oh sorry I will
CodSpeed Performance Report
Merging #10470 will not alter performance
Comparing re-taro:feat/add-missing-hooks (4c9cf16) with main (ed6f4de)[^unexpected-base]
[^unexpected-base]: No successful run was found on main (03fd1ad) during the generation of this report, so ed6f4de was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Summary
✅ 17 untouched