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

fix: use relative paths in _metadata.json #7299

Merged
merged 1 commit into from Mar 13, 2022

Conversation

patak-dev
Copy link
Member

Description

We currently use absolute paths in _metadata.json in the pre-bundled deps dir, this means that if the user moves or copy a Vite app folder, the cache will end up in an invalid state.

I think users may be getting hard to report bugs because of this. We could make the paths relative to the deps dir (where the _metadata.json is located) to avoid this issue.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@patak-dev patak-dev added the p3-minor-bug An edge case that only affects very specific usage (priority) label Mar 12, 2022
@patak-dev patak-dev merged commit 8b945f5 into main Mar 13, 2022
@patak-dev patak-dev deleted the fix/metadata-relative-paths branch March 13, 2022 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants