Skip to content

Commit

Permalink
chore: use plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Aug 15, 2023
1 parent da571ea commit 3ba8d79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { defineConfig } from 'father';

export default defineConfig({
platform: 'browser',
cjs: { output: 'lib' },
esm: {
output: 'es',
alias: { 'rc-util/lib': 'rc-util/es' },
},
});
plugins: ['@rc-component/father-plugin'],
});
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,16 @@
"rc-util": "^5.27.1"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/enzyme": "^3.10.5",
"@types/react": "^17.0.35",
"@types/react-dom": "^18.0.5",
"@types/responselike": "^1.0.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@umijs/fabric": "^3.0.0",
"@vitest/coverage-c8": "^0.31.0",
"cross-env": "^7.0.0",
"dumi": "^2.1.3",
"enzyme": "^3.1.0",
Expand All @@ -78,6 +81,7 @@
"glob": "^7.1.6",
"husky": "^8.0.3",
"immutability-helper": "^3.0.0",
"jsdom": "^22.0.0",
"less": "^3.10.3",
"lint-staged": "^13.1.0",
"np": "^7.0.0",
Expand All @@ -96,9 +100,6 @@
"regenerator-runtime": "^0.13.7",
"styled-components": "^5.0.1",
"typescript": "^4.8.4",
"@vitest/coverage-c8": "^0.31.0",
"@types/testing-library__jest-dom": "^5.14.5",
"jsdom": "^22.0.0",
"vitest": "^0.31.0"
},
"lint-staged": {
Expand Down

0 comments on commit 3ba8d79

Please sign in to comment.