You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v/vite.config.ts

32 lines
807 B

import { defineConfig } from 'vitest/config';
import { resolve } from 'path';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
base: './',
plugins: [svelte(),tailwindcss()],
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: [
'src/**/*.ts',
'src/ling/**/*.ts',
'src/logr/**/*.ts',
'src/veci/**/*.ts',
],
exclude: [
'src/**/*.test.ts',
'src/**/*.d.ts']
}
},
resolve: {
alias: {
'@': resolve(__dirname, './src')
}
}
});

Powered by TurnKey Linux.