From ac068ae130090d91f3e508e17fce4ca6bf3277ad Mon Sep 17 00:00:00 2001 From: Kuitos Date: Mon, 8 Jan 2024 21:02:53 +0800 Subject: [PATCH] fix: remove unused umd bundle configuration (#2879) --- .changeset/friendly-apples-design.md | 8 ++++++++ packages/qiankun/.fatherrc.js | 6 +----- packages/ui-bindings/react/.fatherrc.js | 7 +------ packages/ui-bindings/shared/.fatherrc.js | 7 +------ packages/ui-bindings/vue/.fatherrc.js | 7 +------ 5 files changed, 12 insertions(+), 23 deletions(-) create mode 100644 .changeset/friendly-apples-design.md diff --git a/.changeset/friendly-apples-design.md b/.changeset/friendly-apples-design.md new file mode 100644 index 000000000..c4a371a1c --- /dev/null +++ b/.changeset/friendly-apples-design.md @@ -0,0 +1,8 @@ +--- +"qiankun": patch +"@qiankunjs/react": patch +"@qiankunjs/ui-shared": patch +"@qiankunjs/vue": patch +--- + +fix: remove unused umd bundle configuration diff --git a/packages/qiankun/.fatherrc.js b/packages/qiankun/.fatherrc.js index d624659c2..b475e931c 100644 --- a/packages/qiankun/.fatherrc.js +++ b/packages/qiankun/.fatherrc.js @@ -1,13 +1,9 @@ import { writeFileSync } from 'fs'; import { join } from 'path'; -import cfg from '../../.fatherrc.cjs'; import { version } from './package.json'; // generate version.ts const versionFilePath = join(__dirname, './src/version.ts'); writeFileSync(versionFilePath, `export const version = '${version}';`); -export default { - // umd: {}, - ...cfg, -}; +export { default } from '../../.fatherrc.cjs'; diff --git a/packages/ui-bindings/react/.fatherrc.js b/packages/ui-bindings/react/.fatherrc.js index 54fcf28de..46905c015 100644 --- a/packages/ui-bindings/react/.fatherrc.js +++ b/packages/ui-bindings/react/.fatherrc.js @@ -1,6 +1 @@ -import cfg from '../../../.fatherrc.cjs'; - -export default { - umd: {}, - ...cfg, -}; +export { default } from '../../../.fatherrc.cjs'; diff --git a/packages/ui-bindings/shared/.fatherrc.js b/packages/ui-bindings/shared/.fatherrc.js index 54fcf28de..46905c015 100644 --- a/packages/ui-bindings/shared/.fatherrc.js +++ b/packages/ui-bindings/shared/.fatherrc.js @@ -1,6 +1 @@ -import cfg from '../../../.fatherrc.cjs'; - -export default { - umd: {}, - ...cfg, -}; +export { default } from '../../../.fatherrc.cjs'; diff --git a/packages/ui-bindings/vue/.fatherrc.js b/packages/ui-bindings/vue/.fatherrc.js index 54fcf28de..46905c015 100644 --- a/packages/ui-bindings/vue/.fatherrc.js +++ b/packages/ui-bindings/vue/.fatherrc.js @@ -1,6 +1 @@ -import cfg from '../../../.fatherrc.cjs'; - -export default { - umd: {}, - ...cfg, -}; +export { default } from '../../../.fatherrc.cjs';