Michael Mok
Michael Mok
> Hey, I've tried integrating react fast refresh with `swc-loader`, and the result is that if I add `new ReactRefreshPlugin()` to the `plugins: []` list in webpack, `swc-loader` is _dog...
> Thanks for the info :) > > Sorry if I'm light on details, but I'm still trying to come up with a reproducible example, and I can't share the...
Hi, did you read this? https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md Is it just refreshing for some changes, or all the changes? Do you have a lot of non-React-related named imports near application root?
Are you externalising React?
No. This is likely due to externalising and injection order of stuff. I currently do not have much time to check this, but I can revisit this later.
Maybe you could use the `library` option to ensure react refresh is injected for both apps?
I would be happy to curate examples where React Refresh can be used properly with MF if anyone can provide a small sample repo.
Hi, this is unfortunately somethiing we cannot work around - I believe the version of `tapable` (the plugin system for `webpack`) is different across Webpack 4 and 5, so if...
> I am facing the same error what is the right solution? Try to make sure you only have 1 version of `tapable` installed
> As someone else who is experiencing issues here with module federation, I am hoping to re-up this conversation. > > @pmmmwh, would you be open to applying the changes...