-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
In the example given here - https://github.com/module-federation/module-federation-examples/tree/master/nextjs-ssr
The latest server chunk does not load in host app, if some changes are done in remote app. The same issue is happening both on dev and prod build.
Steps to reproduce:
- Run
pnpm dev, and hithttp://localhost:3000/ - Make changes in
checkout/components/exposedTitle.js, on string present at line 14. - Refreshing the page will load the latest client chunk with updated content, but on server, still the old content would load. (You can verify this by disabling javascript in browser)
Error:
Even tried adding content hash in the output.filename in webpack config as mentioned here - https://github.com/module-federation/core/tree/main/packages/node#utilities, but no luck.
karanpvyas, darshan0919, s1ddharthgarg and grayJellyFishkaranpvyas, darshan0919 and s1ddharthgarg
Metadata
Metadata
Assignees
Labels
No labels