Skip to content
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

umi3.5当项目过大时热更新速度太慢(进度条会卡在copy-webapck-plugin 92% 这里一段时间),如何优化和解决热更新时间过长的问题? #12692

Closed
IsDyh01 opened this issue Sep 9, 2024 · 4 comments

Comments

@IsDyh01
Copy link

IsDyh01 commented Sep 9, 2024

What happens?

image

image

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库
由于是公司项目,目前还无法复现。

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Umi Version : 3.5
  • Node Version: 12
  • Platform: window
@Jinbao1001
Copy link
Member

升级 umi 4, 并开启 mako 构建

@IsDyh01
Copy link
Author

IsDyh01 commented Sep 10, 2024

umi4和umi3在路由上可以兼容吗,umi3里边很多组件都需要从props里边获取route变量去使用,umi4可以吗

@Jinbao1001
Copy link
Member

升级到 Umi 4 参考升级文档进行升级.

路由兼容配置

@IsDyh01
Copy link
Author

IsDyh01 commented Sep 11, 2024

感谢解答!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants