mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
18 lines
440 B
TypeScript
18 lines
440 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import vueJsx from '@vitejs/plugin-vue-jsx'
|
|
import DefineOptions from 'unplugin-vue-define-options/rollup'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue(), vueJsx(), DefineOptions()],
|
|
server: {
|
|
port: 5000,
|
|
},
|
|
test: {
|
|
include: ['**/*.puppeteer.{ts,tsx}'],
|
|
testTimeout: 30_000,
|
|
hookTimeout: 30_000,
|
|
},
|
|
})
|