chore(deps): 升级依赖并移除webpack配置中冗余规则

- 将@ant-design/pro-components升级到3.1.14-6版本
- 将zy-react-library升级到2.1.4版本
- 移除webpackConfig中针对@ant-design/pro-components的module.rules配置,简化构建配置
2.0
LiuJiaNan 2026-08-08 15:26:39 +08:00
parent 2df0b91dae
commit 3fdef4aa46
2 changed files with 2 additions and 13 deletions

View File

@ -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中

View File

@ -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",