Skip to content

Commit ddfe9e2

Browse files
authored
build: use rc father plugin (#421)
1 parent 562bfc7 commit ddfe9e2

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.fatherrc.ts

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

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"react-dom": "*"
4545
},
4646
"devDependencies": {
47+
"@rc-component/father-plugin": "^1.0.0",
4748
"@testing-library/react": "^12.0.0",
4849
"@types/jest": "^26.0.5",
4950
"@types/react": "^16.8.19",

0 commit comments

Comments
 (0)