@module-federation/manifest 0.0.0-next-20240226093820 → 0.0.0-next-20240227080544
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 -2
- package/dist/index.esm.js +3 -2
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -1235,8 +1235,9 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1235
1235
|
var assets = {};
|
|
1236
1236
|
chunks.forEach(function(chunk) {
|
|
1237
1237
|
if (typeof chunk.name === "string" && exposeFileNameImportMap[chunk.name]) {
|
|
1238
|
-
|
|
1239
|
-
|
|
1238
|
+
// TODO: support multiple import
|
|
1239
|
+
var exposeKey = exposeFileNameImportMap[chunk.name][0];
|
|
1240
|
+
assets[getFileNameWithOutExt(exposeKey)] = getAssetsByChunk(chunk);
|
|
1240
1241
|
}
|
|
1241
1242
|
});
|
|
1242
1243
|
return assets;
|
package/dist/index.esm.js
CHANGED
|
@@ -1226,8 +1226,9 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1226
1226
|
var assets = {};
|
|
1227
1227
|
chunks.forEach(function(chunk) {
|
|
1228
1228
|
if (typeof chunk.name === "string" && exposeFileNameImportMap[chunk.name]) {
|
|
1229
|
-
|
|
1230
|
-
|
|
1229
|
+
// TODO: support multiple import
|
|
1230
|
+
var exposeKey = exposeFileNameImportMap[chunk.name][0];
|
|
1231
|
+
assets[getFileNameWithOutExt(exposeKey)] = getAssetsByChunk(chunk);
|
|
1231
1232
|
}
|
|
1232
1233
|
});
|
|
1233
1234
|
return assets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/manifest",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240227080544",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide manifest/stats for webpack/rspack MF project .",
|
|
6
6
|
"keywords": [
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"find-pkg": "2.0.0",
|
|
26
26
|
"chalk": "3.0.0",
|
|
27
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
28
|
-
"@module-federation/managers": "0.0.0-next-
|
|
27
|
+
"@module-federation/sdk": "0.0.0-next-20240227080544",
|
|
28
|
+
"@module-federation/managers": "0.0.0-next-20240227080544"
|
|
29
29
|
},
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|