Skip to content

Commit b2fa726

Browse files
authored
docs(config): remove unused argument command (#18058)
1 parent 23a7811 commit b2fa726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/config/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Note that Vite doesn't load `.env` files by default as the files to load can onl
103103
```js twoslash
104104
import { defineConfig, loadEnv } from 'vite'
105105

106-
export default defineConfig(({ command, mode }) => {
106+
export default defineConfig(({ mode }) => {
107107
// Load env file based on `mode` in the current working directory.
108108
// Set the third parameter to '' to load all env regardless of the
109109
// `VITE_` prefix.

0 commit comments

Comments
 (0)