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(react): ensure interop between webpack and rspack module federation #27824

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Sep 9, 2024

Current Behavior

When we had initially designed our Module Federation support for React, we had to get some changes put in place in webpack itself directly to allow for ESM.

However, the best support for Module Federation for both Rspack and Webpack comes from CJS.

Expected Behavior

Ensure CJS is used to ensure interopability between webpack and rspack module federation applications

Related Issue(s)

Fixes #

@Coly010 Coly010 requested a review from a team as a code owner September 9, 2024 10:30
@Coly010 Coly010 self-assigned this Sep 9, 2024
Copy link

vercel bot commented Sep 9, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 0:00am

@Coly010 Coly010 force-pushed the react/module-federation-interop branch from 3d6d9e0 to 0d79883 Compare September 9, 2024 10:36
@Coly010 Coly010 force-pushed the react/module-federation-interop branch from 0d79883 to 86a5f09 Compare September 9, 2024 11:57
@Coly010 Coly010 merged commit d72a1d4 into master Sep 9, 2024
6 checks passed
@Coly010 Coly010 deleted the react/module-federation-interop branch September 9, 2024 14:52
Copy link

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 Sep 15, 2024
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.

2 participants