Skip to content

Commit

Permalink
chore: fix father 4.x compile
Browse files Browse the repository at this point in the history
  • Loading branch information
DBSDs committed Nov 16, 2023
1 parent e81c7ca commit b782dbb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .fatherrc.js

This file was deleted.

5 changes: 5 additions & 0 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from 'father';

export default defineConfig({
plugins: ['@rc-component/father-plugin'],
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@
"now-build": "npm run docs:build"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.0",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
"@umijs/fabric": "^2.0.0",
"@umijs/fabric": "^3.0.0",
"axios": "^0.26.1",
"glob": "^10.0.0",
"co-busboy": "^1.3.0",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Upload from './Upload';
import { UploadProps } from './interface';
import type { UploadProps } from './interface';

export { UploadProps };
export type { UploadProps };

export default Upload;

0 comments on commit b782dbb

Please sign in to comment.