Skip to content
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

fix(webpack): fix support for module federation plugin #14653

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Jan 27, 2023

  • Add config.context back to webpack config (in withNx)
  • Make composePlugins work with async plugins likewithModuleFederation, and add composePluginsSync for a sync version
  • Update withModuleFederation so it chains the context to withReact plugin

Current Behavior

Module federation is not working out of the box.

Expected Behavior

Module federation works out of the box.

Related Issue(s)

Fixes #14692


@vercel
Copy link

vercel bot commented Jan 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
nx-dev ⬜️ Ignored (Inspect) Jan 27, 2023 at 4:38AM (UTC)

@jaysoo jaysoo force-pushed the issue/14629 branch 4 times, most recently from 199d061 to 9ae06de Compare January 27, 2023 04:15
- Add context back to webpack config
- Make composePlugins work with async plugins like withModuleFederation

Fixes #146292
@mandarini mandarini merged commit 795e4d6 into nrwl:master Jan 27, 2023
@jaysoo jaysoo deleted the issue/14629 branch January 27, 2023 12:50
FrozenPandaz pushed a commit that referenced this pull request Jan 27, 2023
@github-actions
Copy link

github-actions bot commented Mar 5, 2023

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants