mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-09 16:01:09 +08:00
chore: workspace file is deprecated
This commit is contained in:
@@ -6,6 +6,14 @@ export default defineConfig({
|
||||
plugins: [Vue(), VueJsx()],
|
||||
test: {
|
||||
environment: 'happy-dom',
|
||||
exclude: [...configDefaults.exclude, '**/e2e/**'],
|
||||
exclude: [
|
||||
...configDefaults.exclude,
|
||||
'**/e2e/**',
|
||||
'**/dist/**',
|
||||
'**/.{idea,git,cache,output,temp}/**',
|
||||
'**/node_modules/**',
|
||||
'**/{stylelint,eslint}.config.*',
|
||||
'.prettierrc.mjs'
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
import { defineWorkspace } from 'vitest/config';
|
||||
|
||||
export default defineWorkspace(['vitest.config.ts']);
|
||||
Reference in New Issue
Block a user