Skip to content

Commit dfde94f

Browse files
committed
chore: fix father 4.x compile
1 parent ac1990b commit dfde94f

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.fatherrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.fatherrc.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from 'father';
2+
3+
export default defineConfig({
4+
plugins: ['@rc-component/father-plugin'],
5+
});

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@
5050
"rc-util": "^5.37.0"
5151
},
5252
"devDependencies": {
53+
"@rc-component/father-plugin": "^1.0.0",
5354
"@testing-library/jest-dom": "^5.16.4",
5455
"@testing-library/react": "^12.0.0",
5556
"@types/classnames": "^2.2.9",
5657
"@types/enzyme": "^3.10.8",
5758
"@types/jest": "^26.0.23",
5859
"@types/react": "^16.14.2",
5960
"@types/react-dom": "^16.9.10",
60-
"@umijs/fabric": "^2.0.8",
61+
"@umijs/fabric": "^3.0.0",
6162
"glob": "^10.0.0",
6263
"cross-env": "^7.0.2",
6364
"dumi": "^2.0.0",

0 commit comments

Comments
 (0)