We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
defineConfig
1 parent 9742a5c commit 467886eCopy full SHA for 467886e
src/config.ts
@@ -1,7 +1,8 @@
1
import process from 'node:process'
2
import type { Nuxt, NuxtConfig } from '@nuxt/schema'
3
import type { UserWorkspaceConfig, InlineConfig as VitestConfig } from 'vitest/node'
4
-import { defineConfig } from 'vitest/config'
+// this is deliberately the vite config function so the module runs if vitest is not installed
5
+import { defineConfig } from 'vite'
6
import type { TestProjectInlineConfiguration } from 'vitest/config'
7
import { setupDotenv } from 'c12'
8
import type { DotenvOptions } from 'c12'
0 commit comments