Skip to content

fix(plugin-react): broken optimized deps dir check#8255

Merged
patak-cat merged 2 commits intomainfrom
fix/react-plugin-optimized-deps-dir
May 23, 2022
Merged

fix(plugin-react): broken optimized deps dir check#8255
patak-cat merged 2 commits intomainfrom
fix/react-plugin-optimized-deps-dir

Conversation

@patak-cat
Copy link
Copy Markdown
Member

Description

This optimization was broken when we changed the folder structure in Vite's cache. But was also not working before that if the user changed the location using config.cacheDir

I'm not strictly checking for the path including the /deps folder to make it more resilient to future changes. We may end up with a /depsBuild for example.

Also, the PR corrects a few other paths from docs and tests.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@patak-cat patak-cat merged commit 9e2a1ea into main May 23, 2022
@patak-cat patak-cat deleted the fix/react-plugin-optimized-deps-dir branch May 23, 2022 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants