Skip to content

Commit aafa103

Browse files
docs(config): correct cacheDir default fallback description (#23060)
1 parent 0945bab commit aafa103

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vite/src/node/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export interface UserConfig extends DefaultEnvironmentOptions {
391391
* the performance. You can use `--force` flag or manually delete the directory
392392
* to regenerate the cache files. The value can be either an absolute file
393393
* system path or a path relative to project root.
394-
* Default to `.vite` when no `package.json` is detected.
394+
* Default to `.vite` when neither a `package.json` nor a `node_modules` directory is detected.
395395
* @default 'node_modules/.vite'
396396
*/
397397
cacheDir?: string

0 commit comments

Comments
 (0)