@umijs/plugins 4.0.84 → 4.0.86

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/mf.js CHANGED
@@ -50,7 +50,8 @@ function mf(api) {
50
50
  })
51
51
  ),
52
52
  shared: zod.record(zod.any()),
53
- library: zod.record(zod.any())
53
+ library: zod.record(zod.any()),
54
+ remoteHash: zod.boolean()
54
55
  }).partial();
55
56
  }
56
57
  },
@@ -80,7 +81,7 @@ function mf(api) {
80
81
  (0, import_path.join)(api.paths.absTmpPath, "plugin-mf", mfSetupPathFileName)
81
82
  );
82
83
  }
83
- const useHash = api.config.hash && api.env !== "development";
84
+ const useHash = typeof api.config.mf.remoteHash === "boolean" ? api.config.mf.remoteHash : api.config.hash && api.env !== "development";
84
85
  const mfConfig = {
85
86
  name,
86
87
  remotes,
@@ -355,5 +356,3 @@ function mf(api) {
355
356
  return true;
356
357
  }
357
358
  }
358
- // Annotate the CommonJS export names for ESM import in node:
359
- 0 && (module.exports = {});
@@ -104,5 +104,3 @@ function getTailwindBinPath(opts) {
104
104
  const tailwindPath = require(pkgPath).bin["tailwind"];
105
105
  return (0, import_path.join)((0, import_path.dirname)(pkgPath), tailwindPath);
106
106
  }
107
- // Annotate the CommonJS export names for ESM import in node:
108
- 0 && (module.exports = {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/plugins",
3
- "version": "4.0.84",
3
+ "version": "4.0.86",
4
4
  "description": "@umijs/plugins",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/plugins#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -44,12 +44,12 @@
44
44
  "styled-components": "6.0.0-rc.0",
45
45
  "tslib": "^2",
46
46
  "warning": "^4.0.3",
47
- "@umijs/bundler-utils": "4.0.84",
48
- "@umijs/valtio": "1.0.4"
47
+ "@umijs/valtio": "1.0.4",
48
+ "@umijs/bundler-utils": "4.0.86"
49
49
  },
50
50
  "devDependencies": {
51
51
  "antd": "^4.24.1",
52
- "umi": "4.0.84"
52
+ "umi": "4.0.86"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"