Skip to content

Commit 198c70e

Browse files
authored
chore: use @rc-component/father-plugin (#4)
* Update .fatherrc.js * Update package.json
1 parent da7b3f2 commit 198c70e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.fatherrc.js

Lines changed: 1 addition & 6 deletions
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-
},
4+
plugins: ['@rc-component/father-plugin'],
105
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"rc-util": "^5.8.0"
4949
},
5050
"devDependencies": {
51+
"@rc-component/father-plugin": "^1.0.0",
5152
"@testing-library/jest-dom": "^5.16.4",
5253
"@testing-library/react": "^13.0.0",
5354
"@types/jest": "^26.0.20",

0 commit comments

Comments
 (0)