core
core copied to clipboard
fix(native-federation-typescript): enable remote string resolution from object
Description
Currently cannot resolve a remote entry from an object, which is allowed in both OriginJS Federation plugin and standard WebPack Federation plugin. This is because the retrieveRemoteStringUrl function only accepts a string as an entry at the moment.
Related Issue
https://github.com/module-federation/core/issues/3512
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
Checklist
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [x] I have updated the documentation.