After production build three folders are created on Azur Storage. Which you can check below.
--dist
---- mfe1
-------- app.routing.ts
{
path: 'flights',
loadChildren: () =>
loadRemoteModule({
type: 'module',
remoteEntry: 'https://xyz.com/devcontainer/mfe1/remoteEntry.js',
exposedModule: './Module'
})
.then(m => m.FlightsModule)
},
---- mfe2
---- shell
Now I am trying to load mfe1 module inside of shell Application. remoteEntry.js file is getting loaded but for chunk 534.6537fc240a2495a2.js I am getting following ERROR.
Error: Uncaught (in promise): ChunkLoadError: Loading chunk 534 failed.
Could you please provide details for running mfe application on production ?
Hey
After production build three folders are created on Azur Storage. Which you can check below.
--dist ---- mfe1 -------- app.routing.ts { path: 'flights', loadChildren: () => loadRemoteModule({ type: 'module', remoteEntry: 'https://xyz.com/devcontainer/mfe1/remoteEntry.js', exposedModule: './Module' }) .then(m => m.FlightsModule) }, ---- mfe2 ---- shell
Now I am trying to load mfe1 module inside of shell Application. remoteEntry.js file is getting loaded but for chunk 534.6537fc240a2495a2.js I am getting following ERROR. Error: Uncaught (in promise): ChunkLoadError: Loading chunk 534 failed.
Could you please provide details for running mfe application on production ?