From fa3469c9a7801b33d7c032c7e15c92746e38f38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= Date: Mon, 18 May 2026 19:02:35 +0800 Subject: [PATCH 1/2] chore: upgrade father plugin --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 74b2356..69ca577 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "gh-pages": "npm run docs:build && npm run docs:deploy", "lint": "eslint src --ext .tsx,.ts,.jsx,.js", "now-build": "npm run docs:build", - "prepublishOnly": "npm run compile && np --yolo --no-publish", + "prepublishOnly": "npm run compile && rc-np", "prettier": "prettier . --write", "postpublish": "npm run gh-pages", "start": "dumi dev", @@ -49,7 +49,8 @@ "@babel/runtime": "^7.24.4" }, "devDependencies": { - "@rc-component/father-plugin": "^1.0.2", + "@rc-component/father-plugin": "^2.2.0", + "@rc-component/np": "^1.0.3", "@types/jest": "^29.5.12", "@types/react": "18.x", "@types/react-dom": "18.x", @@ -59,7 +60,6 @@ "father": "^4.4.0", "gh-pages": "^6.1.1", "lint-staged": "^15.2.2", - "np": "^10.0.3", "prettier": "^3.2.5", "rc-test": "^7.0.15", "react": "^18.2.0", From 488d53beefe769a93687576fa66b7345d53db8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= Date: Tue, 9 Jun 2026 18:53:18 +0800 Subject: [PATCH 2/2] fix: restore browser targets --- .fatherrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.fatherrc.js b/.fatherrc.js index 96268ae..a1d8695 100644 --- a/.fatherrc.js +++ b/.fatherrc.js @@ -2,4 +2,7 @@ import { defineConfig } from 'father'; export default defineConfig({ plugins: ['@rc-component/father-plugin'], + targets: { + ie: 11, + }, });