From 3fdef4aa4637f16176b90a4efb3251cc695dea45 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Sat, 8 Aug 2026 15:26:39 +0800 Subject: [PATCH] =?UTF-8?q?chore(deps):=20=E5=8D=87=E7=BA=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=B9=B6=E7=A7=BB=E9=99=A4webpack=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=AD=E5=86=97=E4=BD=99=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将@ant-design/pro-components升级到3.1.14-6版本 - 将zy-react-library升级到2.1.4版本 - 移除webpackConfig中针对@ant-design/pro-components的module.rules配置,简化构建配置 --- jjb.config.js | 11 ----------- package.json | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/jjb.config.js b/jjb.config.js index 6d1a393..e652896 100644 --- a/jjb.config.js +++ b/jjb.config.js @@ -68,17 +68,6 @@ module.exports = { }, // webpack webpackConfig: { - module: { - rules: [ - { - test: /\.m?js$/, - include: path.resolve(__dirname, "./node_modules/@ant-design/pro-components"), - resolve: { - fullySpecified: false, - }, - }, - ], - }, // 单页面插件 htmlWebpackPluginOption: { // 自动注入编译后的文件到public/index.html中 diff --git a/package.json b/package.json index d6b0aef..df499d6 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "@ahooksjs/use-url-state": "^3.5.1", "@ant-design/icons": "^6.2.5", - "@ant-design/pro-components": "^3.1.12-0", + "@ant-design/pro-components": "3.1.14-6", "@cqsjjb/jjb-common-decorator": "latest", "@cqsjjb/jjb-common-lib": "latest", "@cqsjjb/jjb-dva-runtime": "latest", @@ -32,7 +32,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "throttle-debounce": "^5.0.2", - "zy-react-library": "^2.0.0" + "zy-react-library": "^2.1.4" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1",