1
0

fix(ts): align with create-vue setup

This commit is contained in:
Dominik Pschenitschni
2024-06-11 17:54:28 +02:00
committed by konrad
parent f36115871c
commit bf28a0c795
7 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,6 @@
/// <reference types="vitest" />
import {defineConfig, type PluginOption, loadEnv} from 'vite'
import {configDefaults} from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import legacyFn from '@vitejs/plugin-legacy'
import {URL, fileURLToPath} from 'node:url'
@ -87,6 +88,7 @@ export default defineConfig(({mode}) => {
// https://vitest.dev/config/
test: {
environment: 'happy-dom',
exclude: [...configDefaults.exclude, 'e2e/**'],
'vitest.commandLine': 'pnpm test:unit',
},
css: {