@module-federation/manifest 0.0.0-next-20240324091053 → 0.0.0-next-20240325035415
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 +8 -1
- package/dist/index.esm.js +8 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -1602,7 +1602,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1602
1602
|
value: function generateStats(compiler, compilation, extraOptions) {
|
|
1603
1603
|
var _this = this;
|
|
1604
1604
|
return _async_to_generator$1(function() {
|
|
1605
|
-
var _this__options, tmp, manifestOptions, stats, ret, err;
|
|
1605
|
+
var existedStats, _this__options, tmp, manifestOptions, stats, ret, err;
|
|
1606
1606
|
return _ts_generator$1(this, function(_state) {
|
|
1607
1607
|
switch(_state.label){
|
|
1608
1608
|
case 0:
|
|
@@ -1612,6 +1612,13 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1612
1612
|
,
|
|
1613
1613
|
5
|
|
1614
1614
|
]);
|
|
1615
|
+
existedStats = compilation.getAsset(_this.fileName);
|
|
1616
|
+
if (existedStats) {
|
|
1617
|
+
return [
|
|
1618
|
+
2,
|
|
1619
|
+
JSON.parse(existedStats.source.source().toString())
|
|
1620
|
+
];
|
|
1621
|
+
}
|
|
1615
1622
|
_this__options = _this._options, tmp = _this__options.manifest, manifestOptions = tmp === void 0 ? {} : tmp;
|
|
1616
1623
|
return [
|
|
1617
1624
|
4,
|
package/dist/index.esm.js
CHANGED
|
@@ -1593,7 +1593,7 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1593
1593
|
value: function generateStats(compiler, compilation, extraOptions) {
|
|
1594
1594
|
var _this = this;
|
|
1595
1595
|
return _async_to_generator$1(function() {
|
|
1596
|
-
var _this__options, tmp, manifestOptions, stats, ret, err;
|
|
1596
|
+
var existedStats, _this__options, tmp, manifestOptions, stats, ret, err;
|
|
1597
1597
|
return _ts_generator$1(this, function(_state) {
|
|
1598
1598
|
switch(_state.label){
|
|
1599
1599
|
case 0:
|
|
@@ -1603,6 +1603,13 @@ var StatsManager = /*#__PURE__*/ function() {
|
|
|
1603
1603
|
,
|
|
1604
1604
|
5
|
|
1605
1605
|
]);
|
|
1606
|
+
existedStats = compilation.getAsset(_this.fileName);
|
|
1607
|
+
if (existedStats) {
|
|
1608
|
+
return [
|
|
1609
|
+
2,
|
|
1610
|
+
JSON.parse(existedStats.source.source().toString())
|
|
1611
|
+
];
|
|
1612
|
+
}
|
|
1606
1613
|
_this__options = _this._options, tmp = _this__options.manifest, manifestOptions = tmp === void 0 ? {} : tmp;
|
|
1607
1614
|
return [
|
|
1608
1615
|
4,
|
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-20240325035415",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Provide manifest/stats for webpack/rspack MF project .",
|
|
6
6
|
"keywords": [
|
|
@@ -24,9 +24,9 @@
|
|
|
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/dts-kit": "0.0.0-next-
|
|
29
|
-
"@module-federation/managers": "0.0.0-next-
|
|
27
|
+
"@module-federation/sdk": "0.0.0-next-20240325035415",
|
|
28
|
+
"@module-federation/dts-kit": "0.0.0-next-20240325035415",
|
|
29
|
+
"@module-federation/managers": "0.0.0-next-20240325035415"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|