feat!: use rspackHotUpdate as default hotUpdateGlobal#12774
Conversation
✅ Deploy Preview for rspack-v2 canceled.
|
📦 Binary Size-limit
🎉 Size decreased by 324.63KB from 47.99MB to 47.68MB (⬇️0.66%) |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 5 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-1kPath:
📦 Download Diff Report: react-1k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff 📁 ui-componentsPath:
📦 Download Diff Report: ui-components Bundle Diff Generated by Rsdoctor GitHub Action |
Summary
This PR changes the default value of
output.hotUpdateGlobalfromwebpackHotUpdatetorspackHotUpdate. This change helps differentiate Rspack's HMR runtime from webpack's, making it clearer which bundler is being used when inspecting the global scope during development.This is a breaking change for users who rely on the default
hotUpdateGlobalvalue, but it aligns with Rspack's branding and avoids potential conflicts when both webpack and Rspack are used in the same environment.Checklist