mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-02-01 17:36:51 +00:00
15 lines
305 B
TypeScript
15 lines
305 B
TypeScript
import { defineConfig } from 'vite'
|
|
import Vue from '@vitejs/plugin-vue'
|
|
import Jsx from '@vitejs/plugin-vue-jsx'
|
|
|
|
export default defineConfig({
|
|
plugins: [Vue(), Jsx()],
|
|
test: {
|
|
global: true,
|
|
environment: 'happy-dom',
|
|
transformMode: {
|
|
web: [/.[tj]sx$/],
|
|
},
|
|
},
|
|
})
|