New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleFederationPlugin does not pass down options.shareScope to ContainerPlugin #13797
Comments
Because it is different options? |
@alexander-akait If I'm not mistaken, shared scopes don't work without passing this down to the container plugin. If share scope considered low level, maybe it should be taken out of |
Please provide how we can reproduce the problem? |
@alexander-akait Please see repo https://github.com/jacobp100/webpack-13797. Please let me know if you have further questions. |
This issue had no activity for at least three months. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
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
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
The text was updated successfully, but these errors were encountered: