1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 22:56:09 +09:00
elk/vitest.config.ts
2022-11-25 16:56:18 +08:00

26 lines
457 B
TypeScript

import { resolve } from 'path'
import { defineConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import AutoImport from 'unplugin-auto-import/vite'
export default defineConfig({
resolve: {
alias: {
'~/': `${resolve(__dirname)}/`,
},
},
plugins: [
Vue(),
AutoImport({
dts: false,
imports: [
'vue',
'@vueuse/core',
],
dirs: [
'composables',
],
}),
],
})