mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix: vitest ui (#7116)
Fix https://github.com/vitest-dev/vitest/issues/553
This commit is contained in:
parent
efc1a4c816
commit
7ffb3b55b0
@ -5,9 +5,12 @@ import DefineOptions from 'unplugin-vue-define-options/vite'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [Vue(), VueJsx(), DefineOptions()],
|
||||
optimizeDeps: {
|
||||
exclude: ['vue', '@element-plus/icons-vue'],
|
||||
},
|
||||
test: {
|
||||
include: ['**/*.vitest.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
||||
exclude: ['**/*.test.*', '**/*.spec.*'],
|
||||
exclude: ['**/*.test.*', '**/*.spec.*', '**/node_modules'],
|
||||
environment: 'jsdom',
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user