You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/shared-options.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -459,10 +459,10 @@ Set to `false` to prevent Vite from clearing the terminal screen when logging ce
459
459
460
460
## envDir
461
461
462
-
-**Type:**`string`
462
+
-**Type:**`string | false`
463
463
-**Default:**`root`
464
464
465
-
The directory from which `.env` files are loaded. Can be an absolute path, or a path relative to the project root.
465
+
The directory from which `.env` files are loaded. Can be an absolute path, or a path relative to the project root.`false` will disable the `.env` file loading.
466
466
467
467
See [here](/guide/env-and-mode#env-files) for more about environment files.
0 commit comments