14 lines
418 B
TypeScript
14 lines
418 B
TypeScript
import react, { reactCompilerPreset } from '@vitejs/plugin-react';
|
|
import babel from '@rolldown/plugin-babel';
|
|
import { defineConfig } from 'vitest/config'; // nicht mehr vite
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), babel({ presets: [reactCompilerPreset()] })],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
setupFiles: './src/tests/config/setupTests.ts',
|
|
},
|
|
});
|