Skip to content

feat(node): Custom HMR Bundler Runtime & Client #3849

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

Draft
wants to merge 11 commits into
base: module-reloaders
Choose a base branch
from

Conversation

ScriptedAlchemy
Copy link
Member

Description

This pull request introduces significant improvements to the HMR (Hot Module Replacement) debugging system, transitioning from a backend-dependent approach to a flexible, provider-based architecture. It includes refactoring of the runtime state, new update provider options, enhanced force update capabilities, and expanded testing and development scripts.

Refactoring and Architecture Changes:

Enhanced Force Update Capabilities:

New Examples and Documentation:

Expanded Development and Testing Scripts:

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

Copy link

changeset-bot bot commented Jun 19, 2025

⚠️ No Changeset found

Latest commit: 9f84628

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
Copy link
Member Author

@ScriptedAlchemyBot review

ScriptedAlchemy and others added 4 commits June 19, 2025 14:48
…lities

- Convert MCP host from TypeScript to JavaScript for simplified runtime
- Update webpack config to handle JS modules with Module Federation
- Add debug logging and MCP host verification functionality
- Create debug log tracking for development workflow
- Configure proper build and serve targets for development

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Set config.output.publicPath = 'auto' to fix manifest plugin issue
- Host now properly attempts to load remotes via HTTP
- Identified root cause: remotes missing @module-federation/runtime-core dependency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant