Skip to content

Commit 211a3cb

Browse files
chore: changeset
1 parent b0fa725 commit 211a3cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.changeset/ai-happy-lion.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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.
10+
```

0 commit comments

Comments
 (0)