mirror of https://github.com/webpack/webpack.git
fix(performance): remove unneeded test code
This commit is contained in:
parent
541ec7ce08
commit
3410d84e33
|
|
@ -23,7 +23,7 @@ Entrypoint.prototype.insertChunk = function(chunk, before) {
|
|||
chunk.entrypoints.push(this);
|
||||
};
|
||||
|
||||
Entrypoint.prototype.getFiles = function(filterPredicate) {
|
||||
Entrypoint.prototype.getFiles = function() {
|
||||
var files = [];
|
||||
|
||||
for(var chunkIdx = 0; chunkIdx < this.chunks.length; chunkIdx++) {
|
||||
|
|
@ -34,10 +34,6 @@ Entrypoint.prototype.getFiles = function(filterPredicate) {
|
|||
}
|
||||
}
|
||||
|
||||
if (typeof filterFn !== 'undefined') {
|
||||
return
|
||||
}
|
||||
|
||||
return files;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue