File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
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 : { 'rc-util/lib' : 'rc-util/es' } ,
9- } ,
4+ plugins : [ '@rc-component/father-plugin' ] ,
105} ) ;
Original file line number Diff line number Diff line change 4747 },
4848 "devDependencies" : {
4949 "@ant-design/icons" : " ^5.0.1" ,
50+ "@rc-component/father-plugin" : " ^1.0.2" ,
5051 "@testing-library/jest-dom" : " ^6.4.0" ,
5152 "@testing-library/react" : " ^15.0.6" ,
5253 "@types/classnames" : " ^2.2.10" ,
Original file line number Diff line number Diff line change @@ -262,6 +262,8 @@ const ImageInternal: CompoundedComponent<ImageProps> = props => {
262262
263263ImageInternal . PreviewGroup = PreviewGroup ;
264264
265- ImageInternal . displayName = 'Image' ;
265+ if ( process . env . NODE_ENV !== 'production' ) {
266+ ImageInternal . displayName = 'Image' ;
267+ }
266268
267269export default ImageInternal ;
You can’t perform that action at this time.
0 commit comments