2026-03-18 10:22:23 +01:00
|
|
|
import { defineConfig } from 'vitest/config'
|
2026-03-18 09:03:33 +01:00
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
|
|
|
|
css: {
|
|
|
|
|
modules: {
|
|
|
|
|
localsConvention: 'camelCase',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
test: {
|
|
|
|
|
globals: true,
|
|
|
|
|
environment: 'happy-dom',
|
|
|
|
|
setupFiles: ['./src/test-setup.ts'],
|
|
|
|
|
css: { modules: { classNameStrategy: 'non-scoped' } },
|
|
|
|
|
},
|
|
|
|
|
})
|