alibaba / alibaba/lowcode-engine
lowcode-material物料库生产包支持antd的 4.24.9 或者5.x版本
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述
---
问题1:在lowcode material物料库 通过设置build.lowcode.js的extraAssets实现开发环境的antd版本的支持到4.x的最后版本4.24.9,设置antd 5.x无效,通过打印window下的antd version版本能正确显示到4.24.9的版本。如果设置5.0.0 就会默认显示antd的默认4.17.3的版本。
问题2: 执行npm run lowcode:build 命令 在build/lowcode/index.js 构建生产包还是默认使用的antd的4.17.3版本,能否通过build.lowcode.js的设置让生产包支持4.24或者5.x版本。
问题3: 如果解决不了是否只能通过fork @alifd/build-plugin-lowcode 包进行antd的版本升级?
## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**
Steps to reproduce the behavior: / 详细复现步骤:
---
English version example:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
中文版示例:

1.如何执行 npm run lowcode:dev 能生成指定的antd版本,期望是antd 5.x或者4.24的版本
2. 如何执行 npm run lowcode:build 能生成指定的antd版本,期望是antd 5.x或者4.24的版本
## **Expected behavior (required)** / **预期行为(必填,非常重要)**
A clear and concise description of what did you expect to happen. / 请清晰和精确的描述你预期的行为
---
## **Screenshots (optional)** / **bug 截图(可选)**
Sceenshots for further information. (If applicable.) / 一些有用的截图将会帮助我们更好的明确以及定位问题
---
## **Environments (please complete the following information) (required):** / **请提供如下信息(必填)**
- AliLowCodeEngine version: [e.g. 1.0.0] / 低代码引擎版本
- AliLowCodeEngineExt version: [e.g. 1.0.0] / 低代码引擎扩展包版本
- Browser [e.g. chrome, safari] / 浏览器版本
- materials / plugins / tools / 其他物料 / 插件 / 工具链版本
> (this information can be collected via [the manual plugin](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png) / 版本信息可[通过低代码用户手册插件收集](https://img.alicdn.com/imgextra/i1/O1CN0115zonY1IsgbkZ2ir7_!!6000000000949-2-tps-3066-1650.png))
## **Additional context (optional)** / **更多额外信息(可选)**
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题
## **Expected behavior (required)** / **预期行为(必填,非常重要)**
A clear and concise description of what did you e
English version example:000000000949-2-tps-3066-1650.png))
## **Additional context (optional)** / **更多额外信息(可选)**
Any other context of the problem here. / 可以追加更多的额外信息,帮助定位问题
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.