@module-federation/sdk 0.0.0-next-20240311023539 → 0.0.0-next-20240318025655
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 +3 -4
- package/dist/index.esm.js +3 -4
- package/dist/package.json +1 -1
- package/dist/src/types/snapshot.d.ts +1 -2
- package/dist/src/types/stats.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -523,11 +523,10 @@ function generateSnapshotFromManifest(manifest) {
|
|
|
523
523
|
};
|
|
524
524
|
})
|
|
525
525
|
};
|
|
526
|
-
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.
|
|
527
|
-
var
|
|
526
|
+
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchInterface) {
|
|
527
|
+
var prefetchInterface = manifest.metaData.prefetchInterface;
|
|
528
528
|
basicRemoteSnapshot = _object_spread_props(_object_spread({}, basicRemoteSnapshot), {
|
|
529
|
-
|
|
530
|
-
prefetchEntryType: type
|
|
529
|
+
prefetchInterface: prefetchInterface
|
|
531
530
|
});
|
|
532
531
|
}
|
|
533
532
|
if ("publicPath" in manifest.metaData) {
|
package/dist/index.esm.js
CHANGED
|
@@ -519,11 +519,10 @@ function generateSnapshotFromManifest(manifest) {
|
|
|
519
519
|
};
|
|
520
520
|
})
|
|
521
521
|
};
|
|
522
|
-
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.
|
|
523
|
-
var
|
|
522
|
+
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchInterface) {
|
|
523
|
+
var prefetchInterface = manifest.metaData.prefetchInterface;
|
|
524
524
|
basicRemoteSnapshot = _object_spread_props(_object_spread({}, basicRemoteSnapshot), {
|
|
525
|
-
|
|
526
|
-
prefetchEntryType: type
|
|
525
|
+
prefetchInterface: prefetchInterface
|
|
527
526
|
});
|
|
528
527
|
}
|
|
529
528
|
if ("publicPath" in manifest.metaData) {
|
package/dist/package.json
CHANGED
|
@@ -27,8 +27,7 @@ export interface BasicProviderModuleInfo extends BasicModuleInfo {
|
|
|
27
27
|
modulePath?: string;
|
|
28
28
|
assets: StatsAssets;
|
|
29
29
|
}>;
|
|
30
|
-
|
|
31
|
-
prefetchEntryType?: RemoteEntryType;
|
|
30
|
+
prefetchInterface?: boolean;
|
|
32
31
|
}
|
|
33
32
|
interface BasicProviderModuleInfoWithPublicPath extends BasicProviderModuleInfo {
|
|
34
33
|
publicPath: string;
|
|
@@ -14,7 +14,7 @@ export interface BasicStatsMetaData {
|
|
|
14
14
|
globalName: string;
|
|
15
15
|
buildInfo: StatsBuildInfo;
|
|
16
16
|
remoteEntry: ResourceInfo;
|
|
17
|
-
|
|
17
|
+
prefetchInterface?: boolean;
|
|
18
18
|
types: Omit<ResourceInfo, 'type'>;
|
|
19
19
|
type: string;
|
|
20
20
|
pluginVersion: string;
|