-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Closed
Closed
Copy link
Description
Bug report
ModuleFederationPlugin does not pass down options.shareScope to ContainerPlugin
In these lines,
webpack/lib/container/ModuleFederationPlugin.js
Lines 63 to 69 in 7fbf3af
| new ContainerPlugin({ | |
| name: options.name, | |
| library, | |
| filename: options.filename, | |
| runtime: options.runtime, | |
| exposes: options.exposes | |
| }).apply(compiler); |
options.shareScope is not passed down, even though ContainerPlugin accepts this.
What is the current behavior?
nil
If the current behavior is a bug, please provide the steps to reproduce.
nil
What is the expected behavior?
Either it should be passed down, or an additional option under a separate name to pass down (i.e. containerShareScope)
Other relevant information:
webpack version: 5.44.0
Node.js version: v14.15.1
Operating System: macOS Big Sur
Additional tools: nil
Reactions are currently unavailable