You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a developing module in my local folder and add it in the vite-project's package.json as "file:path" syntax.
When I update my module, then run yarn upgrade module-name in the vite-project. Yarn will update node_modules/module-name as my expected, but node_modules/.vite/deps won't be updated.
It's a Windows10/WSL1/Ubuntu22.04 env. Looks similar #7176
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
I think this is a duplicate of #6718. Ideally we would resolve each dependency before optimization and compare them to bust the cache, but we skipped that currently.
Describe the bug
I use a developing module in my local folder and add it in the vite-project's package.json as "file:path" syntax.
When I update my module, then run
yarn upgrade module-name
in the vite-project. Yarn will updatenode_modules/module-name
as my expected, but node_modules/.vite/deps won't be updated.It's a Windows10/WSL1/Ubuntu22.04 env. Looks similar #7176
Reproduction
https://github.com/qyb/bugforvite
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: