Skip to main content

Questions tagged [webpack-module-federation]

The tag has no usage guidance.

webpack-module-federation
0 votes
0 answers
6 views

Use hash in remote module URL for webpack module federated components

I have a app that loads some module federated components. For example: module.exports = { plugins: [ new ModuleFederationPlugin({ name: 'app', remotes: { remoteComponent1:'...
ninja's user avatar
  • 355
0 votes
0 answers
17 views

Unable to invoke a dialog component via MFE

I need to load a remote module for an angular based app. The remote module is also angular based and part of another FE. Here is the code I'm using: loadRemoteModule({ remoteEntry: 'https://...
Abhishek's user avatar
  • 531
0 votes
0 answers
24 views

Module federation: Unsatisfied version 18.3.1 from `REMOTE-REPO-C` of shared singleton module react (required ^17.0.1)

I am using module federation for micro-frontends, where the host is react:^17 and some of the remote repos also have react:^17. I want to upgrade all the repos to ^18 in a step by step manner with one ...
Deepak Negi's user avatar
0 votes
0 answers
26 views

Module Federation not workng with react host app and vite-react remote app

I have setup the module federation using two remote apps into one host application. My host app is react and one the remote is also created using react, while the second remote app is created using ...
Aparna Appu's user avatar
1 vote
0 answers
17 views

How to bootstrap the routing, NgRx etc of MFE module from the shell project forcibly using module federation?

I want to bootstrap or initiate the MFE's routing, NgRx and other library instances from the Shell project programatically. Now I am doing lazy load of modules from shell as below loadChildren: () =&...
Gnik's user avatar
  • 7,380
0 votes
0 answers
37 views

How to extract a component from dynamically loaded angular remote module

How to extract the Component from module federation remote module At present I am having the below code Remote code: exposes: { './TodoModule': './src/todo/todo.module.ts', './...
Gnik's user avatar
  • 7,380
1 vote
0 answers
48 views

Utilize react component over URLs dyanamically

I have a React component say TEST.TSX , I have compiled the .tsx file to .js and uploaded it to GitHub, so that I can server it over JsDelivr. Can I use the CDN in another react app to utilize the ...
Pradeep Yadav's user avatar
0 votes
0 answers
16 views

Angular microfront end w/ tailwindcss

i use module federation and multirepo in angular, i have a shell, an app (MFE) and a shared-ui so in my shared-ui i have installed tailwindcss, i have my file tailwind.config.js and a styles.scss ...
NAATL's user avatar
  • 1
0 votes
0 answers
25 views

Error when switching between Angular micro frontends in a project using Module Federation

I am facing an issue with my microfrontend architecture project where I use Module Federation. My project structure is: Shell (React) Microfrontend 1 (Next.js) Microfrontend 2 (Angular) Microfrontend ...
baek's user avatar
  • 1
0 votes
0 answers
29 views

Module not found: Error: Can't resolve 'provider_app/App' remote React modules

I'm trying to access React components from a consumer in a remote link. I'm using Module federation in Webpack 5 for this. Here's my code. Provider App App.js import React from 'react' function App() ...
SUSITHA's user avatar
0 votes
0 answers
34 views

How to expose a React component from host application to a module federated child application in Micro Front End Architecture?

I was exploring the Microfront End Architecture, and I found this very useful github repo https://github.com/nebarf/module-federation-react-router-dom My usecase is I want to expose a component from ...
Md. Shadab Hussain's user avatar
0 votes
1 answer
123 views

Css variables of Primevue styles are not defined in module federation layout app

I try to use feature of customization of the primevue theme and change the prefix for css variables of Primevue style. After checking the changes in layout MF app I unfortunately see that all this ...
Андрей Дьячков's user avatar
0 votes
0 answers
40 views

Use TraslateService in standalone components accross Angular microfrontends and Webpack Module Federation

Which is the best way to use the TraslateService (ngx-translate) accross microfrontends in an Angualar application with Webpack Module Federation using standalone components? I was importing ...
Marco24690's user avatar
0 votes
0 answers
21 views

Shared dependencies are still generated in both remote and shell app in @angular-architects/module-federation

Both shell app and remote app has angular_core package in the build bundle, even after adding them in shared: {} webpack config. Is it expected? Shell app webpack config '@angular/core': { ...
Bhuvaneshwari B's user avatar
0 votes
0 answers
23 views

Micro frontend - Material UI library duplicate imports webpack

I am implementing the microfrontend architecture, My main app and mf1 app uses material ui, the material ui library are imported multiple times, even after specifying the singleton property. which is ...
user25628586's user avatar

15 30 50 per page
1
2 3 4 5
40