docs(config): remove unused argument command (#18058)

This commit is contained in:
Wouter Kroes 2024-11-05 06:04:41 +01:00 committed by GitHub
parent 23a781177b
commit b2fa7260b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ Note that Vite doesn't load `.env` files by default as the files to load can onl
```js twoslash
import { defineConfig, loadEnv } from 'vite'
export default defineConfig(({ command, mode }) => {
export default defineConfig(({ mode }) => {
// Load env file based on `mode` in the current working directory.
// Set the third parameter to '' to load all env regardless of the
// `VITE_` prefix.