8000 Merge pull request #15202 from tmeasday/webpack-hot-middleware-lazy-c… · webpack/webpack@f22a314 · GitHub
[go: up one dir, main page]

Skip to content

Commit f22a314

Browse files
authored
Merge pull request #15202 from tmeasday/webpack-hot-middleware-lazy-compilation
Exclude `webpack-hot-middleware/client` from lazy compilation
2 parents 3014a3b + 9be408c commit f22a314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hmr/LazyCompilationPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class LazyCompilationPlugin {
383383
)
384384
return;
385385
if (
386-
/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(
386+
/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client|webpack-hot-middleware[/\\]client/.test(
387387
resolveData.request
388388
) ||
389389
!checkTest(this.test, originalModule)

0 commit comments

Comments
 (0)
0