-
Notifications
You must be signed in to change notification settings - Fork 223
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
HMR at Module Federation #8
Comments
esbuild & swc is work,babel throw error |
The root cause of HMR not working when doing module federation is that the Check out the comment here: module-federation/module-federation-examples#358 (comment) To fix the problem, only include the chunks that you need in |
is there demo? |
remark |
@ckken So just add this to HtmlWebpackPlugin
|
me too. no work |
Could
And it works fine for me as you can see in the screenshot, the HMR is working. |
your page had an update after HMR? |
@flyyuan For sure, that's the whole point, isn't it? |
hmr main problem in module federation when project expose some modules, when you haven't expose, hmr is work! |
@ckken Yeah, but that's the symptom. Have you checked my comment on the other issue I linked above? module-federation/module-federation-examples#358 (comment) So when you have exposed modules, ModuleFederationPlugin generates |
yes,I saw~ but the error is not caused here |
@ckken Alright, so you're referring to some other issue. I see you link the issue here, I thought it might be the same issue I encountered. |
fixed it in @efox/emp-cli 1.8.26 may be!? |
hot reload for react update @efox/emp-react to v1.1.6 |
module-federation/module-federation-examples#358
The text was updated successfully, but these errors were encountered: