@umijs/plugins 4.0.76 → 4.0.77
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/qiankun/slave.js +1 -3
- package/package.json +3 -3
package/dist/qiankun/slave.js
CHANGED
|
@@ -173,7 +173,7 @@ export interface IRuntimeConfig {
|
|
|
173
173
|
});
|
|
174
174
|
api.chainWebpack((config) => {
|
|
175
175
|
(0, import_assert.default)(api.pkg.name, "You should have name in package.json.");
|
|
176
|
-
const { shouldNotAddLibraryChunkName } = (api.config.qiankun || {}).slave;
|
|
176
|
+
const { shouldNotAddLibraryChunkName = !Boolean(api.config.mfsu) } = (api.config.qiankun || {}).slave;
|
|
177
177
|
config.output.libraryTarget("umd").library(
|
|
178
178
|
shouldNotAddLibraryChunkName ? api.pkg.name : `${api.pkg.name}-[name]`
|
|
179
179
|
);
|
|
@@ -335,5 +335,3 @@ 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 = {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugins",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.77",
|
|
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.
|
|
47
|
+
"@umijs/bundler-utils": "4.0.77",
|
|
48
48
|
"@umijs/valtio": "1.0.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"antd": "^4.24.1",
|
|
52
|
-
"umi": "4.0.
|
|
52
|
+
"umi": "4.0.77"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|