Skip to content

fix: serve default remoteEntry in dev#848

Merged
gioboa merged 1 commit into
mainfrom
fix/847
Jun 23, 2026
Merged

fix: serve default remoteEntry in dev#848
gioboa merged 1 commit into
mainfrom
fix/847

Conversation

@gioboa

@gioboa gioboa commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Close #847

Fixes dev serving when the filename prop is omitted.
The plugin defaults to a hashed remote entry, but hosts commonly request /remoteEntry.js; this now maps that stable path before Vite falls back to index.html.

@pkg-pr-new

pkg-pr-new Bot commented Jun 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@module-federation/vite@848

commit: a570391

@gioboa gioboa left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Tests With Different Frameworks

Screenshot 2026-06-23 at 16 58 25

@gioboa gioboa merged commit fe1ce7f into main Jun 23, 2026
22 checks passed
@gioboa gioboa deleted the fix/847 branch June 23, 2026 15:45
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.

[Bug]: remoteEntry.js is not served in development mode when using Nx React + Vite + Module Federation

1 participant