Files
z-elements/libs/panels/bottom-panel/vite.config.ts
2024-08-02 14:03:47 +02:00

25 lines
603 B
TypeScript

/// <reference types="vitest" />
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { defineConfig } from 'vite';
export default defineConfig({
cacheDir: '../../../node_modules/.vite/panels-bottom-panel',
plugins: [nxViteTsPaths()],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
// },
test: {
reporters: ['default'],
globals: true,
cache: {
dir: '../../../node_modules/.vitest',
},
environment: 'node',
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
},
});