Skip to content

Commit a238ab0

Browse files
committed
chore: use @rc-component/father-plugin
1 parent 11190f4 commit a238ab0

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.fatherrc.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1+
12
import { defineConfig } from 'father';
23

34
export default defineConfig({
4-
platform: 'browser',
5-
cjs: { output: 'lib' },
6-
esm: {
7-
output: 'es',
8-
alias: { 'rc-util/lib': 'rc-util/es' },
9-
},
10-
});
5+
plugins: ['@rc-component/father-plugin'],
6+
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
]
4646
},
4747
"devDependencies": {
48+
"@rc-component/father-plugin": "^1.0.0",
4849
"@types/classnames": "^2.2.10",
4950
"@types/jest": "^26.0.4",
5051
"@umijs/fabric": "^3.0.0",

0 commit comments

Comments
 (0)