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

[Task] 尝试升级到 vite 5 #12200

Open
fz6m opened this issue Mar 15, 2024 · 1 comment
Open

[Task] 尝试升级到 vite 5 #12200

fz6m opened this issue Mar 15, 2024 · 1 comment

Comments

@fz6m
Copy link
Member

fz6m commented Mar 15, 2024

说明

由于 vite 5 已经发布很久了,umi 4 目前还使用的是 vite 4 ( 虽然能升级到 4 的最新版本 ),所以可以尝试升级到 vite 5 。

其他

由于未来 umi 5 可能主要依靠 rust 工具做构建,vite 不再是支持的一环,大概率不会再集成 vite ,所以只是尝试探究 vite 5 在 umi 4 的存在可能。

@xierenyuan 另外考虑到你们内部 vue 项目较多的话,vite 与 vue 的相容性还是更好的,可能要考虑未来自己 fork 更多内容去集成 vite (但如果需要兼容性比较多的话,还是不要主力考虑 vite 了,避免 type=module 的情况)。

@xierenyuan
Copy link
Member

vite 有兼容性模式、现在欠缺的是分包等能力 等观望下 rolldown 看下是否有改善吧

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