Questions tagged [webpack-module-federation]

458 questions
0
votes
3 answers

Error when adding Datepicker to a remote component in module federation

I am trying to use datepicker within an remote component using module federation and am getting the attached error message. Troubleshooting steps tried Added @angular/material as shared library to webpack config of all projects Tried adding…
0
votes
0 answers

Issue sharing custom libraries with Module Federation plugin

Good afternoon, I followed this tutorial to share a library with Module Federation Plugin and Angular. Library is located in a different projects (not monorepo), and it is installed as npm dependency in two modules. I want to use this library to…
0
votes
1 answer

@angular-architects/module-federation to customize a monolith build

In our company we are trying to implement micro frontend concept using @angular-architects/module-federation plugin. We used very basic configuration, nothing special, so decided to not prepare any code samples for this post…
0
votes
2 answers

Angular Material and Kendo doesn't work with Module Federation Plugin: Bootstrap call not found

I built a microfrontend application using Angular CLI and Module Federation Plugin. When I try to install Angular Material or Kendo, I've got this problem: Bootstrap call not found I followed this link to resolve this problem. Unfortunately, I've…
0
votes
1 answer

angular route with module federation

I am working on a module federation project. mfe1: ParentApp mfe2: childApp1 mfe3: childApp2 mfe4: childApp3(parent of ChildApp1) childApp1 and childApp3 and childApp2 all have routing modules which will navigate to different pages. My question is…
0
votes
1 answer

Dynamic Routes of RouteModule when using Module Federation Plugin

I'm developing a microfrontends application, using Module Federation Plugin. The routing of application container is: const routes: Routes = [ { path: 'login', loadChildren: () => loadRemoteModule({ type: 'module', …
0
votes
1 answer

SSR with Angular and Module Federation

I am using angular version 13.1.0 and I have enabled SSR through ng add @nguniversal/common. After adding this configuration I add module federation with ng add @angular-architects/module-federation@14.0.1. This adds extra configuration to do SSR,…
0
votes
1 answer

remoteEntry.js was not being fetched despite being defined?

Please find below the webpack.config.js for host/container plugins: [ new ModuleFederationPlugin({ name: "host", remotes: { subA: "sub_a@http://localhost:8081/remoteEntry.js", subB:…
Isaac
  • 12,042
  • 16
  • 52
  • 116
0
votes
1 answer

Can you restrict access to `window` for JS loaded with a `