mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-23 19:24:52 +03:00
3b93b7badf
* Fix coverage * Remove unusable file * Revert * also Add in codecov * Remove unused ignore path
24 lines
534 B
TypeScript
24 lines
534 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import packageJson from './package.json';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
name: packageJson.name,
|
|
exclude: ['./benchmarks/**/*', '.yarn/**/*'],
|
|
coverage: {
|
|
provider: 'istanbul',
|
|
include: ['src/**/*'],
|
|
exclude: ['src/compat/_internal/**/*', 'src/**/*.spec.ts'],
|
|
},
|
|
watch: false,
|
|
deps: {
|
|
optimizer: {
|
|
ssr: {
|
|
enabled: true,
|
|
include: ['es-toolkit', 'es-toolkit/compat'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|