Skip to content

Commit 1674288

Browse files
committed
chore: upgrade father
1 parent 72b4146 commit 1674288

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
],
1414
"main": "./lib/index",
1515
"module": "./es/index",
16+
"types": "./es/index.d.ts",
1617
"files": [
1718
"assets/*.css",
1819
"assets/*.less",
@@ -50,6 +51,7 @@
5051
"rc-util": "^5.17.0"
5152
},
5253
"devDependencies": {
54+
"@rc-component/father-plugin": "^1.0.1",
5355
"@testing-library/jest-dom": "^5.16.5",
5456
"@testing-library/react": "^13.4.0",
5557
"@types/classnames": "^2.2.9",
@@ -63,8 +65,7 @@
6365
"cssstyle": "^2.3.0",
6466
"dumi": "^1.1.41-rc.0",
6567
"eslint": "^7.0.0",
66-
"father": "^2.13.4",
67-
"father-build": "^1.18.6",
68+
"father": "^4.1.1",
6869
"gh-pages": "^3.1.0",
6970
"husky": "^8.0.2",
7071
"jest": "^29.3.1",

0 commit comments

Comments
 (0)