mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-28 12:05:41 +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'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|