Skip to content

Commit 616ce45

Browse files
authored
Merge pull request webpack#5563 from STRML/fix/dev-server-optimization-bailout
fix: Clear optimization bailouts on module.disconnect
2 parents 66e6871 + e91a761 commit 616ce45

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Module.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Module extends DependenciesBlock {
5858
this.providedExports = null;
5959
this._chunks.clear();
6060
this._chunksDebugIdent = undefined;
61+
this.optimizationBailout.length = 0;
6162
super.disconnect();
6263
}
6364

0 commit comments

Comments
 (0)