Closed WangJincheng4869 closed 1 year ago
Vite may include internal breaking changes cross minor, so we are avoiding that to stick vite with minor.
new version will use 4.1.x once it releases.
cc @meteorlxy This is why I am requesting to release a new version. Project with vite as deps can suffer if there is vite4.1 in project deps tree.
@Mister-Hope 哎~ 升级到vite 4.2.1 这个错误又出现了,有什么办法能彻底解决项目的 vite 版本与 vuepress 冲突问题吗?还是说只能等待 vuepress 发布新版本我才能升级 vite
如果你在用pnpm,你可以使用pnpm.override
Description
报错信息如下,感觉是因为我的项目用的是vite4.1.1而 文档内置的vite版本为4.0.4导致的。请问如何能升级文档内置的vite版本,使其与我的项目vite版本相同?
Reproduction
https://stackblitz.com/edit/vuepress-77g32p?file=package.json,docs%2F.vuepress%2Fconfig.ts
Used Package Manager
pnpm
System Info