14 lines
393 B
TypeScript
14 lines
393 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./resources/js', import.meta.url)),
|
|
},
|
|
},
|
|
test: { environment: 'node', include: ['tests/frontend/**/*.test.tsx'] },
|
|
});
|