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: prevent crash in host dev server #24

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Conversation

jbroma
Copy link
Contributor

@jbroma jbroma commented Feb 5, 2025

Motivation, Context, Closing issues

Currently DevServer for host crashes because of a bug in @module-federation/rspack (fixed here: module-federation/core#3487).

This PR creates a workaround so that we avoid the bug in MF altogether (don't use && to short-circuit addition of RsdoctorPlugin).

Proposed Changes

  • use config.plugins.push for adding RsdoctorPlugin

Screenshots/Screen Recording:

n/a

Other information

n/a

Copy link

nx-cloud bot commented Feb 5, 2025

View your CI Pipeline Execution ↗ for commit 7ba66b1.

Command Status Duration Result
nx run-many -t test ✅ Succeeded 10s View ↗
nx run-many -t typecheck ✅ Succeeded 16s View ↗
nx run-many -t lint ✅ Succeeded 22s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-05 19:17:48 UTC

Copy link
Contributor

@BogiKay BogiKay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested the changes and the crash is gone 👍

@BogiKay BogiKay merged commit eb2fd05 into main Feb 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants