2024-04-25 14:56:13 +03:00
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
import packageJson from './package.json';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
test: {
|
|
|
|
name: packageJson.name,
|
2024-10-01 08:00:45 +03:00
|
|
|
exclude: ['./benchmarks/**/*', '.yarn/**/*'],
|
2024-04-25 14:56:13 +03:00
|
|
|
coverage: {
|
|
|
|
provider: 'istanbul',
|
|
|
|
include: ['src/**/*'],
|
2024-10-09 05:48:02 +03:00
|
|
|
exclude: ['src/compat/_internal/**/*', 'src/**/*.spec.ts'],
|
2024-04-25 14:56:13 +03:00
|
|
|
},
|
2024-09-28 15:40:09 +03:00
|
|
|
watch: false,
|
2024-10-05 16:15:06 +03:00
|
|
|
deps: {
|
|
|
|
optimizer: {
|
|
|
|
ssr: {
|
|
|
|
enabled: true,
|
|
|
|
include: ['es-toolkit', 'es-toolkit/compat'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-04-25 14:56:13 +03:00
|
|
|
},
|
2024-06-04 11:19:26 +03:00
|
|
|
});
|