We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 562bfc7 commit ddfe9e2Copy full SHA for ddfe9e2
.fatherrc.ts
@@ -1,13 +1,5 @@
1
import { defineConfig } from 'father';
2
3
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
+ plugins: ['@rc-component/father-plugin'],
13
});
package.json
@@ -44,6 +44,7 @@
44
"react-dom": "*"
45
},
46
"devDependencies": {
47
+ "@rc-component/father-plugin": "^1.0.0",
48
"@testing-library/react": "^12.0.0",
49
"@types/jest": "^26.0.5",
50
"@types/react": "^16.8.19",
0 commit comments