We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0945bab commit aafa103Copy full SHA for aafa103
1 file changed
packages/vite/src/node/config.ts
@@ -391,7 +391,7 @@ export interface UserConfig extends DefaultEnvironmentOptions {
391
* the performance. You can use `--force` flag or manually delete the directory
392
* to regenerate the cache files. The value can be either an absolute file
393
* system path or a path relative to project root.
394
- * Default to `.vite` when no `package.json` is detected.
+ * Default to `.vite` when neither a `package.json` nor a `node_modules` directory is detected.
395
* @default 'node_modules/.vite'
396
*/
397
cacheDir?: string
0 commit comments