-
-
Notifications
You must be signed in to change notification settings - Fork 757
fix: correct watchpack require path #12771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for rspack-v2 canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the watchpack dependency loading in NodeWatchFileSystem to use the pre-compiled version instead of requiring it directly by package name.
Changes:
- Modified the require statement for watchpack to use the compiled version from
../compiled/watchpack/index.js
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 5 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 react-10kPath:
📁 react-1kPath:
📁 react-5kPath:
📁 ui-componentsPath:
📁 romePath:
Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
🎉 Size decreased by 322.75KB from 47.99MB to 47.68MB (⬇️0.66%) |
Summary
Updated the import path for
watchpackto use the compiled version from../compiled/watchpack/index.jsinstead of requiring it directly by package name.Related links
Checklist