Browse Source
chore: workaround for hmr speed (#42357)
* docs: workaround for hmr speed
* chore: update comment
pull/42361/head
Peach
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
.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; |
|
|
|
|
|
}, |
|
|
}); |
|
|
}); |
|
|