Closed
Description
Describe the bug
Hi team,
I'm encountering an issue with remote entries consistently being the same every time I try to consume them using the following setup:
new ModuleFederationPlugin({
name: "test",
filename: "remoteEntry.js",
remotes: {
testEditor: "testMF@/ui/remoteEntry.js?v=[Date.now()]"
},
new ExternalTemplateRemotesPlugin()
}),
Previously, we relied on the ExternalTemplateRemotesPlugin
package before transitioning to @module-federation/enhanced
, and it effectively generated date timestamps, ensuring the creation of new remote entries each time. Is there a similar approach available in the new enhanced package? I noticed some changes in the nextjsmf package here, but I'm uncertain if there's a direct equivalent in the enhanced package.
Reproduction
NA
Used Package Manager
npm
System Info
NA
Validations
- Read the docs.
- Read the common issues list.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Module federation issue and not a framework-specific issue.
- The provided reproduction is a minimal reproducible example of the bug.