@module-federation/sdk 0.0.0-next-20231225041300 → 0.0.0-next-20231225064454
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -217,7 +217,7 @@ var parseEntry = function(str, devVerOrUrl) {
|
|
|
217
217
|
var devVersionOrUrl = getProcessEnv()["NODE_ENV"] === "development" && devVerOrUrl;
|
|
218
218
|
var defaultVersion = "*";
|
|
219
219
|
var isEntry = function(s) {
|
|
220
|
-
return s.startsWith("http") ||
|
|
220
|
+
return s.startsWith("http") || s.includes(MANIFEST_EXT);
|
|
221
221
|
};
|
|
222
222
|
// Check if the string starts with a type
|
|
223
223
|
if (strSplit.length >= 2) {
|
|
@@ -506,7 +506,7 @@ function generateSnapshotFromManifest(manifest) {
|
|
|
506
506
|
return remoteSnapshot;
|
|
507
507
|
}
|
|
508
508
|
function isManifestProvider(moduleInfo) {
|
|
509
|
-
if ("remoteEntry" in moduleInfo &&
|
|
509
|
+
if ("remoteEntry" in moduleInfo && moduleInfo.remoteEntry.includes(MANIFEST_EXT)) {
|
|
510
510
|
return true;
|
|
511
511
|
} else {
|
|
512
512
|
return false;
|
package/dist/index.esm.js
CHANGED
|
@@ -213,7 +213,7 @@ var parseEntry = function(str, devVerOrUrl) {
|
|
|
213
213
|
var devVersionOrUrl = getProcessEnv()["NODE_ENV"] === "development" && devVerOrUrl;
|
|
214
214
|
var defaultVersion = "*";
|
|
215
215
|
var isEntry = function(s) {
|
|
216
|
-
return s.startsWith("http") ||
|
|
216
|
+
return s.startsWith("http") || s.includes(MANIFEST_EXT);
|
|
217
217
|
};
|
|
218
218
|
// Check if the string starts with a type
|
|
219
219
|
if (strSplit.length >= 2) {
|
|
@@ -502,7 +502,7 @@ function generateSnapshotFromManifest(manifest) {
|
|
|
502
502
|
return remoteSnapshot;
|
|
503
503
|
}
|
|
504
504
|
function isManifestProvider(moduleInfo) {
|
|
505
|
-
if ("remoteEntry" in moduleInfo &&
|
|
505
|
+
if ("remoteEntry" in moduleInfo && moduleInfo.remoteEntry.includes(MANIFEST_EXT)) {
|
|
506
506
|
return true;
|
|
507
507
|
} else {
|
|
508
508
|
return false;
|