0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-07 15:39:49 -05:00
penpot-plugins/apps/contrast-plugin/vite.config.ts

21 lines
494 B
TypeScript
Raw Normal View History

2024-03-07 04:34:06 -05:00
/// <reference types='vitest' />
import { defineConfig } from 'vite';
export default defineConfig({
root: __dirname,
2024-05-24 05:51:08 -05:00
cacheDir: '../node_modules/.vite/contrast-plugin',
2024-03-07 04:34:06 -05:00
test: {
globals: true,
cache: {
2024-05-24 05:51:08 -05:00
dir: '../node_modules/.vitest',
2024-03-07 04:34:06 -05:00
},
environment: 'jsdom',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
reporters: ['default'],
coverage: {
2024-05-24 05:51:08 -05:00
reportsDirectory: '../coverage/contrast-plugin',
2024-03-07 04:34:06 -05:00
provider: 'v8',
},
},
});