Skip to content

Commit

Permalink
fix: remove unused umd bundle configuration (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuitos authored Jan 8, 2024
1 parent 99bf65f commit ac068ae
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 23 deletions.
8 changes: 8 additions & 0 deletions .changeset/friendly-apples-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"qiankun": patch
"@qiankunjs/react": patch
"@qiankunjs/ui-shared": patch
"@qiankunjs/vue": patch
---

fix: remove unused umd bundle configuration
6 changes: 1 addition & 5 deletions packages/qiankun/.fatherrc.js
Original file line number Diff line number Diff line change
@@ -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';
7 changes: 1 addition & 6 deletions packages/ui-bindings/react/.fatherrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
import cfg from '../../../.fatherrc.cjs';

export default {
umd: {},
...cfg,
};
export { default } from '../../../.fatherrc.cjs';
7 changes: 1 addition & 6 deletions packages/ui-bindings/shared/.fatherrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
import cfg from '../../../.fatherrc.cjs';

export default {
umd: {},
...cfg,
};
export { default } from '../../../.fatherrc.cjs';
7 changes: 1 addition & 6 deletions packages/ui-bindings/vue/.fatherrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
import cfg from '../../../.fatherrc.cjs';

export default {
umd: {},
...cfg,
};
export { default } from '../../../.fatherrc.cjs';

0 comments on commit ac068ae

Please sign in to comment.