1
0
elk/vitest.config.ts

26 lines
457 B
TypeScript
Raw Permalink Normal View History

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