diff --git a/.fatherrc.js b/.fatherrc.js index 205e08f0..96268ae1 100644 --- a/.fatherrc.js +++ b/.fatherrc.js @@ -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' }, - }, -}); \ No newline at end of file + plugins: ['@rc-component/father-plugin'], +}); diff --git a/package.json b/package.json index b8767495..31a68d20 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "rc-virtual-list": "^3.5.2" }, "devDependencies": { + "@rc-component/father-plugin": "^1.0.2", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.0.0", "@types/jest": "^26.0.24",