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
fix(webpack): react-refresh-webpack-plugin cause rebuild slow #1808
fix(webpack): react-refresh-webpack-plugin cause rebuild slow #1808
Conversation
🦋 Changeset detectedLatest commit: 1af4598 The changes in this PR will be included in the next version bump. This PR includes changesets to release 150 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportBase: 56.93% // Head: 56.93% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1808 +/- ##
=======================================
Coverage 56.93% 56.93%
=======================================
Files 626 626
Lines 15931 15931
Branches 3385 3385
=======================================
Hits 9071 9071
Misses 6329 6329
Partials 531 531
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
PR Details
Description
This PR using the forked
@modern-js/react-refresh-webpack-plugin
package to replace@pmmmwh/react-refresh-webpack-plugin
, the forked package is under https://github.com/modern-js-dev/react-refresh-webpack-plugin.Why fork this package?
The react-refresh-webpack-plugin has a performance issue and will cause webpack rebuild much more slower, see:pmmmwh/react-refresh-webpack-plugin#669
This performance issue has been fixed, but react-refresh-webpack-plugin has not released a new version for a long time, so we forked the package and released a new version to fix the performance issue.
Once react-refresh-webpack-plugin released a new version, we will switch back to the official package.
Types of changes
Checklist