-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
Description
remoteType: "umd" error
Bug report
What is the current behavior?
error
If the current behavior is a bug, please provide the steps to reproduce.
https://stackblitz.com/edit/github-faw5we-nztzyp?file=app1%2Fwebpack.config.js
// app1
ModuleFederationPlugin({
remoteType: "umd",
remotes: {
"app2": "app2@http://localhost:3002/remoteEntry.js"
}
})
// app2
ModuleFederationPlugin({
name: "app2",
library: { type: "umd", name: "app2" }
})
What is the expected behavior?
Other relevant information:
webpack version: 5.74.0
Node.js version: 16.13.0
Operating System:
Additional tools: