vueComponent/ant-design-vue

const antdLocale: any = await import(`../../node_modules/ant-design-vue/es/locale/${locale}.js`);语句在Windows生产环境中挂住

lazebird opened this issue · 2 comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.0

Environment

"ant-design-vue": "4.2.0","vue": "^3.4.23","vite": "^5.2.10",

Reproduction link

https://github.com/lazebird/tauri

Steps to reproduce

克隆项目https://github.com/lazebird/tauri
执行pnpm install , pnpm tauri build --debug
需要tauri环境,但是感觉问题和tauri关系不大,后面会再整理个纯web环境再更新上来

What is expected?

正常执行导入

What is actually happening?

导入语言被卡住了

https://github.com/lazebird/tauri 增加web分支,去除tauri内容,纯web编译后通过hfs服务器加载问题相似,当前已经设置为默认分支

最新测试发现应该和vite版本有关