ant-design / ant-design/pro-components
🐛[BUG]@ant-design/pro-form从2.2.6升级到2.3.0后打包到生产时登录页表单样式未加载
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
项目是22年10月左右开始的,初始化时的相关版本如图:


后面隔了几个月,把lock文件删除了,装的新版本发现打包后登录页不加载表单样式,登录后其它组件都正常。

### 📷 复现步骤
最近经过单独升级pro-form版本发现,升级到2.3.0开始就会出现这个问题,去看了下源码的版本对比,不清楚是不是和loader升级有关


### 🏞 期望结果
截止到今天(24.4.16)即使删除lock,把各组件的版本全升级到对应版本号的最新,其它问题没有,就这个登录页打包后异常,是更新后项目中哪里有配置要改吗?我需要如何做
Contributor guide
Research direction
Compare @ant-design/pro-form 2.2.6 and 2.3.0, focusing on the loader-related changes shown in the issue. Reproduce a production build with the login page and verify whether its form styles are missing while other components remain styled; done means identifying the required configuration change or confirming a package regression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100