Closed mscolnick closed 2 years ago
Yes, please read https://single-spa.js.org/docs/ecosystem-vite#native-modules-vs-systemjs. The problem only occurs if you have two in-browser module registries that don't overlap/share their modules. SystemJS is one module registry and native modules use the browser's native module registry.
To only have one copy of Vue or React, you have the following options:
module
. However, it does solve the dependency problem.Sorry to reoopen this, but this extra code would work with importmao overrides?
Per this doc: https://single-spa.js.org/docs/ecosystem-vite/
Is there a way to get around this? This breaks a bit more with multiple copies of
React
.