Skip to content

Commit d905f98

Browse files
authored
Update .fatherrc.js (#1038)
1 parent 4e31189 commit d905f98

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.fatherrc.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +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-
alias: { 'rc-util/lib': 'rc-util/es' },
9-
},
10-
});
4+
plugins: ['@rc-component/father-plugin'],
5+
});

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"rc-virtual-list": "^3.5.2"
5555
},
5656
"devDependencies": {
57+
"@rc-component/father-plugin": "^1.0.2",
5758
"@testing-library/jest-dom": "^5.16.5",
5859
"@testing-library/react": "^13.0.0",
5960
"@types/jest": "^26.0.24",

0 commit comments

Comments
 (0)