rspack icon indicating copy to clipboard operation
rspack copied to clipboard

feat(rspack): implement addEntry, succeedEntry & failedEntry hooks

Open re-taro opened this issue 11 months ago • 5 comments

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).

re-taro avatar May 25 '25 16:05 re-taro

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

netlify[bot] avatar May 25 '25 16:05 netlify[bot]

@SyMind cc

chenjiahan avatar Jul 01 '25 09:07 chenjiahan

Lack of unit testing.

SyMind avatar Jul 02 '25 07:07 SyMind

Oh sorry I will

re-taro avatar Jul 02 '25 17:07 re-taro

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

codspeed-hq[bot] avatar Jul 20 '25 15:07 codspeed-hq[bot]