Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 10d8408

Browse files
chore: import both mergeConfig and defineConfig from vitest/config
With the typing fix in Vitest 0.34, it is again possible to use `defineConfig` and `mergeConfig` from the `vitest` package.
1 parent 653f953 commit 10d8408

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎template/config/vitest/vitest.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { fileURLToPath } from 'node:url'
2-
import { mergeConfig, defineConfig } from 'vite'
3-
import { configDefaults } from 'vitest/config'
2+
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
43
import viteConfig from './vite.config'
54

65
export default mergeConfig(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /