From d905f984ceb296ca1d8d8737663c788bdcbfa407 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 12 Apr 2024 17:01:04 +0800 Subject: [PATCH] Update .fatherrc.js (#1038) --- .fatherrc.js | 9 ++------- package.json | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.fatherrc.js b/.fatherrc.js index 205e08f0d..96268ae1e 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 b87674952..31a68d20d 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",