mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 20:27:44 +08:00
14 lines
407 B
TypeScript
14 lines
407 B
TypeScript
|
import { defineConfig } from 'vite'
|
||
|
import Vue from '@vitejs/plugin-vue'
|
||
|
import VueJsx from '@vitejs/plugin-vue-jsx'
|
||
|
import DefineOptions from 'unplugin-vue-define-options/vite'
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [Vue(), VueJsx(), DefineOptions()],
|
||
|
test: {
|
||
|
include: ['**/*.vitest.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||
|
exclude: ['**/*.test.*', '**/*.spec.*'],
|
||
|
environment: 'jsdom',
|
||
|
},
|
||
|
})
|