@module-federation/manifest 0.0.0-next-20240508024041 → 0.0.0-next-20240511023318

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 CHANGED
@@ -733,7 +733,7 @@ var ManifestManager = /*#__PURE__*/ function() {
733
733
  case 2:
734
734
  compilation.emitAsset(manifestFileName, new compiler.webpack.sources.RawSource(JSON.stringify(_this._manifest, null, 2)));
735
735
  if (isDev()) {
736
- console.log(chalk__default["default"](_templateObject$1(), PLUGIN_IDENTIFIER, publicPath, manifestFileName));
736
+ console.log(chalk__default["default"](_templateObject$1(), PLUGIN_IDENTIFIER, publicPath === "auto" ? "{auto}/" : publicPath, manifestFileName));
737
737
  }
738
738
  return [
739
739
  2
@@ -1415,8 +1415,8 @@ function _templateObject() {
1415
1415
  }
1416
1416
  function _templateObject1() {
1417
1417
  var data = _tagged_template_literal([
1418
- "{bold {yellow [ ",
1419
- " ]: Manifest will not generate, because publicPath can only be absolute path, but got '",
1418
+ "{bold {blue [ ",
1419
+ " ]: Manifest will use absolute path resolution via its host at runtime, reason: publicPath='",
1420
1420
  "'}}"
1421
1421
  ]);
1422
1422
  _templateObject1 = function _templateObject() {
@@ -1826,7 +1826,7 @@ var StatsManager = /*#__PURE__*/ function() {
1826
1826
  return false;
1827
1827
  } else if (publicPath === "auto") {
1828
1828
  console.warn(chalk__default["default"](_templateObject1(), PLUGIN_IDENTIFIER, publicPath));
1829
- return false;
1829
+ return true;
1830
1830
  }
1831
1831
  return true;
1832
1832
  }
package/dist/index.esm.js CHANGED
@@ -724,7 +724,7 @@ var ManifestManager = /*#__PURE__*/ function() {
724
724
  case 2:
725
725
  compilation.emitAsset(manifestFileName, new compiler.webpack.sources.RawSource(JSON.stringify(_this._manifest, null, 2)));
726
726
  if (isDev()) {
727
- console.log(chalk(_templateObject$1(), PLUGIN_IDENTIFIER, publicPath, manifestFileName));
727
+ console.log(chalk(_templateObject$1(), PLUGIN_IDENTIFIER, publicPath === "auto" ? "{auto}/" : publicPath, manifestFileName));
728
728
  }
729
729
  return [
730
730
  2
@@ -1406,8 +1406,8 @@ function _templateObject() {
1406
1406
  }
1407
1407
  function _templateObject1() {
1408
1408
  var data = _tagged_template_literal([
1409
- "{bold {yellow [ ",
1410
- " ]: Manifest will not generate, because publicPath can only be absolute path, but got '",
1409
+ "{bold {blue [ ",
1410
+ " ]: Manifest will use absolute path resolution via its host at runtime, reason: publicPath='",
1411
1411
  "'}}"
1412
1412
  ]);
1413
1413
  _templateObject1 = function _templateObject() {
@@ -1817,7 +1817,7 @@ var StatsManager = /*#__PURE__*/ function() {
1817
1817
  return false;
1818
1818
  } else if (publicPath === "auto") {
1819
1819
  console.warn(chalk(_templateObject1(), PLUGIN_IDENTIFIER, publicPath));
1820
- return false;
1820
+ return true;
1821
1821
  }
1822
1822
  return true;
1823
1823
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "license": "MIT",
5
5
  "description": "Provide manifest/stats for webpack/rspack MF project .",
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/manifest",
3
- "version": "0.0.0-next-20240508024041",
3
+ "version": "0.0.0-next-20240511023318",
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-20240508024041",
28
- "@module-federation/dts-plugin": "0.0.0-next-20240508024041",
29
- "@module-federation/managers": "0.0.0-next-20240508024041"
27
+ "@module-federation/sdk": "0.0.0-next-20240511023318",
28
+ "@module-federation/dts-plugin": "0.0.0-next-20240511023318",
29
+ "@module-federation/managers": "0.0.0-next-20240511023318"
30
30
  },
31
31
  "exports": {
32
32
  ".": {