From f92aa32cfe90ec19fa5fdbba279f7a76432fb4ae Mon Sep 17 00:00:00 2001 From: Peach Date: Mon, 15 May 2023 12:28:04 +0800 Subject: [PATCH] chore: workaround for hmr speed (#42357) * docs: workaround for hmr speed * chore: update comment --- .dumirc.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.dumirc.ts b/.dumirc.ts index 97a51f5e32..b4fb66fb37 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -99,4 +99,9 @@ export default defineConfig({ })(); `, ], + chainWebpack(memo) { + // FIXME: disable case-sensitive-paths plugin since it costs more than 1min in HMR, wait for plugin repair then remove + memo.plugins.delete('case-sensitive-paths'); + return memo; + }, });