Skip to content

Commit a79d3d6

Browse files
authored
chore: use rc father plugin (#163)
1 parent 56cabfb commit a79d3d6

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.fatherrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { defineConfig } from 'father';
22

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"devDependencies": {
4646
"@ant-design/tools": "^18.0.2",
47-
"@rc-component/father-plugin": "^1.0.0",
47+
"@rc-component/father-plugin": "^2.2.0",
4848
"@rc-component/np": "^1.0.0",
4949
"@testing-library/jest-dom": "^6.1.4",
5050
"@testing-library/react": "^16.0.0",
@@ -55,7 +55,7 @@
5555
"@umijs/fabric": "^4.0.1",
5656
"dumi": "^2.1.0",
5757
"eslint": "^8.51.0",
58-
"father": "^4.0.0",
58+
"father": "^4.4.4",
5959
"jest-canvas-mock": "^2.5.2",
6060
"less": "^4.2.0",
6161
"rc-test": "^7.0.13",

0 commit comments

Comments
 (0)