-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Strange error with vite@beta on every other build in Yarn PnP with a nested publicDir
#8897
Comments
I was not able to reproduce it on both Windows and WSL (both yarn v3.2.1). |
Hey @sapphi-red thanks for trying it out, have you used the repo I've linked to? That's strange, this is what I see running it on WSL: |
Yes I did use your repo. I was not able to reproduce with node 16.15.0. But I was able to reproduce with node 18.3.0. |
This one seems to be similar yarnpkg/berry#1818. |
Thanks for the link! I'll keep a track of that issue |
Describe the bug
When
publicDir
is set (which should copy over its contents to the build directory) and we nest its files at least 3 levels deep (public/some/folder/public-asset.all
), an error occurs every other build with yarn PnP enabled:Reproduction
https://github.com/IgnusG/repro-vite-yarn-bug
System Info
Used Package Manager
yarn
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: