-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Comments
vite 有兼容性模式、现在欠缺的是分包等能力 等观望下 rolldown 看下是否有改善吧 |
wrappers的代码在哪里可以查看? |
你说的 wrappers 是啥,是 umi 为了支持使用 vite 作为打包器的部分源码吗,在代码仓库的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
说明
由于 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
的情况)。The text was updated successfully, but these errors were encountered: