New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.1.2版本使用vite打包后国际化配置丢失 #39946
Comments
是哪个组件的国际化丢失了? |
全部,神奇的是create-react-app的打包是没有问题的,可能是vite那边的问题吧 |
只有 5.1.2 是这样吗?其它版本有这个问题吗? |
回退到5.1.1用vite打包是正常的,5.1.2就不行了,用create-react-app打包5.1.2也是正常的,用vite就不行 |
|
@Swz0321 等下周 5.1.3 发布,看看问题有没有解决,因为我这边没有复现出来,如果到时候还没解决的话,需要你提供更详细的复现 demo,这个我先 close 了~ |
@li-jia-nan @MadCcc 用这位老哥方案解决了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
https://github.com/ant-design/ant-design
Steps to reproduce
antd5.1.2下使用vite@4.0.3打包
What is expected?
国际化在开发时正常,打包后丢失
What is actually happening?
国际化配置,打包与开发场景应一致
The text was updated successfully, but these errors were encountered: