Public Access
15 lines
326 B
TypeScript
15 lines
326 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
|
|
import babel from '@rolldown/plugin-babel'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
babel({ presets: [reactCompilerPreset()] })
|
|
],
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
},
|
|
})
|