18 lines
370 B
TypeScript
18 lines
370 B
TypeScript
import { defineConfig } from 'vite'
|
|
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' } },
|
|
},
|
|
})
|