Skip to content

Commit d39ce25

Browse files
committed
Exclude webpack-hot-middleware/client from lazy compilation
1 parent 5239eb4 commit d39ce25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/hmr/LazyCompilationPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class LazyCompilationPlugin {
359359
dep.type === "import() context element")) ||
360360
(this.entries && dep.type === "entry")
361361
) &&
362-
!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(
362+
!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client|webpack-hot-middleware[/\\]client/.test(
363363
resolveData.request
364364
) &&
365365
checkTest(this.test, originalModule)

0 commit comments

Comments
 (0)