Skip to content

Commit 45a9a3f

Browse files
chore: changeset
1 parent b0fa725 commit 45a9a3f

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.changeset/ai-eager-mouse.md

-8
This file was deleted.

.changeset/ai-happy-lion.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@module-federation/sdk": patch
3+
---
4+
5+
Fix issue where `createLink` incorrectly created duplicate links when existing links lacked a `rel` attribute.
6+
7+
- Added a test case to verify `createLink` does not duplicate links when existing ones have no `rel`.
8+
- Modified `createLink` logic to treat `null` and `undefined` as equivalent for `rel` attribute.
9+
- Ensures consistent behavior even when `rel` attribute is missing.

0 commit comments

Comments
 (0)