Clear and concise description of the problem
When running Vite with devtools enabled, various files are emitted to the node_modules/.rolldown directories. In some setups, e.g. with Yarn PnP, one does not necessarily have a node_modules directory, causing this to be created by this tooling. It would be nice to have a way to control where such assets are emitted.
Suggested solution
Leverage the cacheDir option from Vite as default value instead of node_modules, to allow for easy overriding.
Alternative
No response
Additional context
No response
Validations
Clear and concise description of the problem
When running Vite with devtools enabled, various files are emitted to the
node_modules/.rolldowndirectories. In some setups, e.g. with Yarn PnP, one does not necessarily have anode_modulesdirectory, causing this to be created by this tooling. It would be nice to have a way to control where such assets are emitted.Suggested solution
Leverage the
cacheDiroption from Vite as default value instead ofnode_modules, to allow for easy overriding.Alternative
No response
Additional context
No response
Validations