Skip to content

Commit dca0612

Browse files
docs: fix config filename for Production build section (#7926)
Co-authored-by: Vladimir <[email protected]>
1 parent a05d48c commit dca0612

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/guide/in-source.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ $ npx vitest
5555

5656
For the production build, you will need to set the `define` options in your config file, letting the bundler do the dead code elimination. For example, in Vite
5757

58-
```ts [vitest.config.ts]
59-
import { defineConfig } from 'vitest/config'
58+
```ts [vite.config.ts]
59+
/// <reference types="vitest/config" />
60+
61+
import { defineConfig } from 'vite'
6062

6163
export default defineConfig({
6264
test: {

0 commit comments

Comments
 (0)