aboutsummaryrefslogtreecommitdiff
path: root/node_modules/webpack/lib/Module.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/lib/Module.js')
-rw-r--r--node_modules/webpack/lib/Module.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/webpack/lib/Module.js b/node_modules/webpack/lib/Module.js
index 26977e63f..fb259d863 100644
--- a/node_modules/webpack/lib/Module.js
+++ b/node_modules/webpack/lib/Module.js
@@ -58,6 +58,7 @@ class Module extends DependenciesBlock {
this.providedExports = null;
this._chunks.clear();
this._chunksDebugIdent = undefined;
+ this.optimizationBailout.length = 0;
super.disconnect();
}
@@ -73,6 +74,7 @@ class Module extends DependenciesBlock {
setChunks(chunks) {
this._chunks = new SortableSet(chunks, sortById);
+ this._chunksDebugIdent = undefined;
}
addChunk(chunk) {