Skip to content

Commit

Permalink
docs: fix anchor name: #mode -> #modes (#19379)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 authored Feb 7, 2025
1 parent b0457b4 commit 002a538
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 @@ -61,7 +61,7 @@ export default {

## Conditional Config

If the config needs to conditionally determine options based on the command (`serve` or `build`), the [mode](/guide/env-and-mode#mode) being used, if it's an SSR build (`isSsrBuild`), or is previewing the build (`isPreview`), it can export a function instead:
If the config needs to conditionally determine options based on the command (`serve` or `build`), the [mode](/guide/env-and-mode#modes) being used, if it's an SSR build (`isSsrBuild`), or is previewing the build (`isPreview`), it can export a function instead:

```js twoslash
import { defineConfig } from 'vite'
Expand Down

0 comments on commit 002a538

Please sign in to comment.