Skip to content

Commit dc24879

Browse files
committed
♻️ refactor: add UMD configuration to .fatherrc.ts for ProComponents
1 parent d018778 commit dc24879

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/components/.fatherrc.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@ import { defineConfig } from 'father';
22

33
export default defineConfig({
44
extends: '../../.fatherrc.base.ts',
5+
umd: {
6+
name: 'ProComponents',
7+
output: 'dist',
8+
externals: {
9+
react: 'React',
10+
'react-dom': 'ReactDOM',
11+
'^/antd/.*': 'antd',
12+
'^/dayjs/.*': 'dayjs',
13+
},
14+
},
515
});

0 commit comments

Comments
 (0)