mirror of
https://github.com/chenasraf/nextcloud-app-template.git
synced 2026-05-17 17:28:09 +00:00
19 lines
435 B
TypeScript
19 lines
435 B
TypeScript
import vue from '@vitejs/plugin-vue'
|
|
import path from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'src'),
|
|
'@icons': path.resolve(__dirname, 'node_modules/vue-material-design-icons'),
|
|
},
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: 'happy-dom',
|
|
include: ['src/**/*.{test,spec}.{js,ts}'],
|
|
},
|
|
})
|