0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-08 07:50:44 -05:00
penpot-plugins/apps/lorem-ipsum-plugin/vite.config.ts
2024-06-03 10:31:41 +02:00

21 lines
518 B
TypeScript

/// <reference types='vitest' />
import { defineConfig } from 'vite';
export default defineConfig({
root: __dirname,
cacheDir: '../node_modules/.vite/lorem-ipsum-plugin',
test: {
watch: false,
globals: true,
cache: {
dir: '../node_modules/.vitest',
},
environment: 'jsdom',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
reporters: ['default'],
coverage: {
reportsDirectory: '../coverage/lorem-ipsum-plugin',
provider: 'v8',
},
},
});