joeldenning / coexisting-angular-microfrontends

Multiple angular applications, coexisting in one page via single-spa.
MIT License
225 stars 155 forks source link

Import an utility module into microfrontend Angular #145

Open UlyssesGomes opened 2 years ago

UlyssesGomes commented 2 years ago

Hi guys,

I'm facing problems when importing a utility module microfrontend into an Angular microfrontend. The compiler generates an error on import because it is not present in node_modules. In microfrontend react, in webpack if it has the same orgname as the micrfrontend utility module, this problem does not happen, but in Angular I did not find a solution similar to this. Could you clarify if there is any way to solve this problem or if it definitely doesn't work with microfrontend in Angular?