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