Skip to content

fix: use relative paths in _metadata.json#7299

Merged
patak-cat merged 1 commit intomainfrom
fix/metadata-relative-paths
Mar 13, 2022
Merged

fix: use relative paths in _metadata.json#7299
patak-cat merged 1 commit intomainfrom
fix/metadata-relative-paths

Conversation

@patak-cat
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-cat patak-cat added the p3-minor-bug An edge case that only affects very specific usage (priority) label Mar 12, 2022
@patak-cat patak-cat merged commit 8b945f5 into main Mar 13, 2022
@patak-cat patak-cat 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.

2 participants