18 lines
356 B
TypeScript
18 lines
356 B
TypeScript
/// <reference types="vitest/config" />
|
|
import { defineConfig } from 'vite';
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
build: {
|
|
target: 'es2020',
|
|
},
|
|
test: {
|
|
environment: 'node',
|
|
include: ['src/**/*.spec.ts'],
|
|
coverage: {
|
|
include: ['src/engine/**', 'src/store/**'],
|
|
},
|
|
},
|
|
});
|