This commit is contained in:
oneao committed 2026-10-09 22:05:02 +08:00
1 parent 0be0b0767a
commit 5f28a10d89
852 files changed
+8962 -111755

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { fileURLToPath, URL } from 'node:url'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vitest/config'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
dedupe: ['vue', 'vue-router', 'pinia'],
},
test: {
environment: 'happy-dom',
include: ['src/**/*.{test,spec}.ts'],
globals: true,
},
})