Questions tagged [webpack-module-federation]
The webpack-module-federation tag has no usage guidance.
webpack-module-federation
589
questions
0
votes
0
answers
48
views
How to copy compiled tailwind styles to separate static file in next.js?
I'm trying to host a copy of tailwind compiled styles that are usually inlined to page's tag to a separate file for microfrontend import in module federation. My tailwind styles are in src/shared/...
0
votes
0
answers
40
views
How do I communicate between hosted components in a micro frontend system?
I have 2 microfront ends, one hosts component for interacting with a file system (call this MFE_docs), the other interacts with a user record system (call this MFE_recs).
In MFE_docs I am exposing a ...
1
vote
0
answers
57
views
Unable to import federated module into another project
I'm attempting to use Module Federation to share a module from one project (remote app) to another project (host app).
In my remote app, the module is compiled successfully, and I can see the ...
0
votes
0
answers
86
views
Webpack Module Execution Error: TypeError: Cannot read properties of undefined (reading 'call')
I have an Angular app that acts as the host and imports a React/Nest.js component using Module Federation. I'm encountering the following error
Error loading or rendering the React component: ...
0
votes
0
answers
263
views
Native federation - Angular 17
I am working with micro frontends using native federation in Angular 17. I have encountered the issue that the 'app-loading-bar' component is not displayed in the shell, as I have instantiated it in ...
0
votes
0
answers
106
views
Webpack Module Federation shared dependencies with eager attribute
I have a couple of questions regarding shared dependencies with Webpack Module Federation
If we use eager: true for a dependency, does it mean that the code for that dependency is included within the ...
0
votes
0
answers
103
views
Issue with Transloco Translations Loading in Multirepo Angular Module Federation Setup
Environment:
Angular Version: 17
Transloco Version: 7.1.0
Architecture: Multirepo with Module Federation
I am implementing Transloco in a multirepo setup using Angular's Module Federation. I have ...
2
votes
0
answers
147
views
Micro Front End : How to not cache the remoteEntry.js and using hash how effectively can we improve the performance without calling bundles everytime
We have a react application and we are using module federation with webpack to load the Micro Front End.
We have tried the
output: {
filename: 'bundle.[contenthash].js',
path: path.resolve(...
0
votes
0
answers
82
views
Setting up Webpack Module Federation
For setting up Webpack Module Federation say for a React project, do we have any option apart from
Ejecting the React App and overriding the Webpack configs (e.g. overrideWebpackConfig) OR
Using ...
0
votes
1
answer
280
views
Angular Native Federation "serve" command doesn't live reload the application
I've been trying to create a POC project to work with the Native Federation in a NX Monorepo, following a DDD approach structure.
The mfe1 application in the project has a dependency to its domain and ...
0
votes
0
answers
112
views
How to authorize in react micro-frontends
I am working on a project which has two separate micro-frontends. let's say MF1 & MF2.
They both has to be included in one container app.
I am using react(create react app) for each micro-frontend....
0
votes
0
answers
172
views
Module federation without using a monorepo?
Currently I am building a micro-frontend to be added to an existing larger application. These 2 applications are hosted on different Github repositories, and the micro-frontend is working well through ...
1
vote
1
answer
1k
views
Native Federation in angular 17
I'm working on a project in Angular 17 which will use the micro frontend concept, and we've decided to work with Native Federation.
I followed the official website's manual, and everything works ...
0
votes
0
answers
61
views
dialog not visible when migrated to angular 17
entryComponents is removed from @ngmodule as part of angular 16. We have couple of dialogs in custom library which is accessed in the MFE. After migrating to angular 17 the dialogs are not opening
...
0
votes
0
answers
25
views
Issue with vue-test-utils and module federation
I am facing below error when I run my Test case file in vue-test-utils
ypeError: Cannot read properties of undefined (reading 'call') at __webpack_require__ (/Users/nipun/Desktop/core-system-web-app/...