Skip to content

Commit

Permalink
remove "lastId" as there is no usecase
Browse files Browse the repository at this point in the history
  • Loading branch information
timse committed Jun 21, 2017
1 parent bf4ec9c commit 5b4836d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/Compilation.js
Expand Up @@ -113,8 +113,6 @@ class Compilation extends Tapable {
cacheModule.errors.forEach(err => this.errors.push(err), this);
cacheModule.warnings.forEach(err => this.warnings.push(err), this);
return cacheModule;
} else {
module.lastId = cacheModule.id;
}
}
module.unbuild();
Expand Down
3 changes: 0 additions & 3 deletions lib/Module.js
Expand Up @@ -25,7 +25,6 @@ class Module extends DependenciesBlock {
this.context = null;
this.reasons = [];
this.debugId = debugId++;
this.lastId = -1;
this.id = null;
this.portableId = null;
this.index = null;
Expand All @@ -49,7 +48,6 @@ class Module extends DependenciesBlock {

disconnect() {
this.reasons.length = 0;
this.lastId = this.id;
this.id = null;
this.index = null;
this.index2 = null;
Expand All @@ -64,7 +62,6 @@ class Module extends DependenciesBlock {
}

unseal() {
this.lastId = this.id;
this.id = null;
this.index = null;
this.index2 = null;
Expand Down

0 comments on commit 5b4836d

Please sign in to comment.