-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Use standard path for cache directory #17444
Comments
Vite has defaulted to |
@bluwy |
I don't think there's any reference that said using |
|
Frameworks can choose a different |
@bluwy @patak-dev |
I don't think we'll be doing this in the next few majors, and to be honest, the ecosystem will only get larger so it will be harder and harder to justify this change. I think it is better to keep this closed. |
@bluwy @patak-dev |
Describe the bug
The default path of
cacheDir
option should be.vite
and notnode_modules/.vite
.node_modules
is used for dependency and not for cache files.Cache directories should be at root of project.
Some points:
.next
directory with all temporary files insidenode_modules
directory for dependenciesRelated #17429
Reproduction
No response
Steps to reproduce
No response
System Info
No response
Used Package Manager
npm / yarn / pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: