feat!: remove deprecated getHooks method from plugins#12738
Conversation
✅ Deploy Preview for rspack-v2 canceled.
|
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 3 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
🎉 Size decreased by 451.25KB from 48.01MB to 47.57MB (⬇️0.92%) |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
Summary
This PR removes the deprecated
getHooksmethod fromHtmlRspackPlugin,RsdoctorPlugin, andRuntimePlugin. These plugins now only exposegetCompilationHooksmethod, which is the recommended way to access compilation hooks. This change simplifies the API and removes deprecated functionality that was marked for removal.Checklist