We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8671892 commit 349c381Copy full SHA for 349c381
.changeset/three-adults-join.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/sdk': patch
3
4
+
5
+fix(sdk): use variable instead of constant
packages/sdk/src/utils.ts
@@ -28,9 +28,9 @@ const parseEntry = (
28
// Check if the string starts with a type
29
if (strSplit.length >= 2) {
30
let [name, ...versionOrEntryArr] = strSplit;
31
- if (str.startsWith(SEPARATOR)) {
+ if (str.startsWith(separator)) {
32
versionOrEntryArr = [devVersionOrUrl || strSplit.slice(-1)[0]];
33
- name = strSplit.slice(0, -1).join(SEPARATOR);
+ name = strSplit.slice(0, -1).join(separator);
34
}
35
36
let versionOrEntry = devVersionOrUrl || versionOrEntryArr.join(separator);
0 commit comments