mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-08 16:00:27 -05:00
21 lines
518 B
TypeScript
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',
|
|
},
|
|
},
|
|
});
|