@umijs/plugins 4.0.80 → 4.0.81

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/antd.js CHANGED
@@ -141,6 +141,10 @@ var antd_default = (api) => {
141
141
  antd.configProvider.theme || {},
142
142
  antd.theme
143
143
  );
144
+ (0, import_assert.default)(
145
+ !antd.configProvider.theme.algorithm,
146
+ `The 'algorithm' option only available for runtime config, please move it to the runtime plugin, see: https://umijs.org/docs/max/antd#运行时配置`
147
+ );
144
148
  }
145
149
  if (antd.appConfig) {
146
150
  if (!appComponentAvailable) {
@@ -335,3 +335,5 @@ export { MicroAppLink } from './MicroAppLink';
335
335
  };
336
336
  });
337
337
  };
338
+ // Annotate the CommonJS export names for ESM import in node:
339
+ 0 && (module.exports = {});
@@ -104,3 +104,5 @@ 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.80",
3
+ "version": "4.0.81",
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.80",
47
+ "@umijs/bundler-utils": "4.0.81",
48
48
  "@umijs/valtio": "1.0.3"
49
49
  },
50
50
  "devDependencies": {
51
51
  "antd": "^4.24.1",
52
- "umi": "4.0.80"
52
+ "umi": "4.0.81"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"