File tree Expand file tree Collapse file tree 4 files changed +6
-13
lines changed
Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 11import { defineConfig } from 'father' ;
22
33export default defineConfig ( {
4- platform : 'browser' ,
5- cjs : { output : 'lib' } ,
6- esm : {
7- output : 'es' ,
8- alias : {
9- 'rc-util/lib' : 'rc-util/es' ,
10- 'antd/lib' : 'antd/es' ,
11- } ,
12- } ,
4+ plugins : [ '@rc-component/father-plugin' ] ,
135} ) ;
Original file line number Diff line number Diff line change 5555 },
5656 "devDependencies" : {
5757 "@ant-design/icons" : " ^4.7.0" ,
58+ "@rc-component/father-plugin" : " ^1.0.1" ,
5859 "@testing-library/jest-dom" : " ^5.16.4" ,
5960 "@testing-library/react" : " ^13.0.0" ,
6061 "@types/enzyme" : " ^3.10.5" ,
6768 "antd" : " ^5.0.1" ,
6869 "dumi" : " ^1.1.0" ,
6970 "eslint" : " ^7.18.0" ,
70- "father" : " ^4.0.0-rc.8 " ,
71+ "father" : " ^4.0.0" ,
7172 "gh-pages" : " ^3.1.0" ,
7273 "less" : " ^4.1.3" ,
7374 "np" : " ^5.0.3" ,
Original file line number Diff line number Diff line change 11import { ConfigProvider } from 'antd' ;
22import type { ConfigConsumerProps } from 'antd/lib/config-provider' ;
33
4- export { ConfigConsumerProps } ;
4+ export type { ConfigConsumerProps } ;
55
66const MergedConfigConsumer = ConfigProvider . ConfigContext . Consumer ;
77
Original file line number Diff line number Diff line change 11import Form from './Form' ;
22
3- export {
3+ export type {
44 FormProps ,
55 FormComponentProps ,
66 FormCreateOption ,
77 ValidateCallback ,
88 ValidationRule ,
99} from './Form' ;
10- export { FormItemProps } from './FormItem' ;
10+ export type { FormItemProps } from './FormItem' ;
1111
1212export default Form ;
You can’t perform that action at this time.
0 commit comments