fix: 🐛 `mock` 修改导致卡死问题修复

This commit is contained in:
hxr 2023-09-14 23:47:42 +08:00
parent ccfe75690c
commit 7c98d4f804
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
ignore: /^\_/, ignore: /^\_/,
mockPath: "mock", mockPath: "mock",
enable: mode === "development", enable: mode === "development",
watchFiles: false,
}), }),
], ],
// 预加载项目必需的组件 // 预加载项目必需的组件