Skip to content

Commit 10d8408

Browse files
committed
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

+1-2
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)