19 lines
406 B
TypeScript
19 lines
406 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|||
|
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
import { resolve } from 'path'
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [vue()],
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
'@': resolve(__dirname, 'src'),
|
||
|
|
'@aiui/core': resolve(__dirname, '../core/src'),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: 'happy-dom',
|
||
|
|
exclude: ['e2e/**', 'node_modules/**'],
|
||
|
|
},
|
||
|
|
})
|