Skip to content

Commit

Permalink
docs(config): remove unused argument command (#18058)
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterkroes authored Nov 5, 2024
1 parent 23a7811 commit b2fa726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b2fa726

Please sign in to comment.