Replies: 5 comments 28 replies
-
|
For maintainers only:
|
Beta Was this translation helpful? Give feedback.
-
|
execOptions.factory is undefined |
Beta Was this translation helpful? Give feedback.
-
|
https://webpack.js.org/blog/2020-12-08-roadmap-2021/#hot-module-replacement-for-module-federation |
Beta Was this translation helpful? Give feedback.
-
|
Change |
Beta Was this translation helpful? Give feedback.
-
|
@alexander-akait This issue started appearing for us after updating from: to: Have you guys done any recent changes related to this? It's trying to load module 78. It does however exist in the cache: I'll work on a repro if necessary. Just wanted to give you a quick heads up! It only appears in one of our 5 applications with nearly identical setup. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
What is the current behavior?
1.【dbcWebMain】app exposes some modules
2. webpack.config.js set optimization.runtimeChunk: 'single' for HMR work
3. HMR work well,but 【dbcWebSub】app Error loading module
4. if webpack.config.js set optimization.runtimeChunk: false,modules load success,but HMR not work
repository:
https://gitee.com/caozhifeng1000/webpack-5-demo.git
start app:
npm run dev【dbcWebMain】app run at http://127.0.0.1:3927
【dbcWebSub】app run at http://127.0.0.1:4936
Other relevant information:
webpack version: 5.51.1
webpack-cli version: 4.8.0
webpack-dev-server version: 3.11.2
Node.js version: 14.16.1
Operating System: Win10
Beta Was this translation helpful? Give feedback.
All reactions