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 23a7811 commit b2fa726Copy full SHA for b2fa726
docs/config/index.md
@@ -103,7 +103,7 @@ Note that Vite doesn't load `.env` files by default as the files to load can onl
103
```js twoslash
104
import { defineConfig, loadEnv } from 'vite'
105
106
-export default defineConfig(({ command, mode }) => {
+export default defineConfig(({ mode }) => {
107
// Load env file based on `mode` in the current working directory.
108
// Set the third parameter to '' to load all env regardless of the
109
// `VITE_` prefix.
0 commit comments