Open AdamJSoftware opened 4 months ago
Similar issue is happening here: https://github.com/vercel/next.js/discussions/64887
Could this be an issue with the module federation spec itself?
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
System Info
Need to install the following packages: envinfo@7.13.0 Ok to proceed? (y) y
System: OS: Linux 6.1 Manjaro Linux CPU: (12) x64 Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz Memory: 13.32 GB / 30.96 GB Container: Yes Shell: 3.7.1 - /usr/bin/fish Binaries: Node: 18.19.0 - /run/user/1000/fnm_multishells/305667_1720381529332/bin/node Yarn: 1.22.22 - /run/user/1000/fnm_multishells/305667_1720381529332/bin/yarn npm: 10.2.3 - /run/user/1000/fnm_multishells/305667_1720381529332/bin/npm npmPackages: @rspack/cli: ^1.0.0-alpha.0 => 1.0.0-alpha.0
Details
I am trying to share mantine with module federation. However, mantine requires a context to be created. Even though I have specified @mantine/core as a singleton in both the remote and shell. It still says that the context has not been initialized and the app crashes.
Reproduce link
https://github.com/AdamJSoftware/rspack-module-federation-bug
Reproduce Steps