mirror of https://github.com/webpack/webpack.git
Merge pull request #2804 from andreypopp/fix/2803
Fix compilation not to store dependency warnings in modules
This commit is contained in:
commit
cca2cee859
|
@ -635,7 +635,6 @@ Compilation.prototype.reportDependencyWarnings = function reportDependencyWarnin
|
|||
if(warnings) {
|
||||
warnings.forEach(function(w) {
|
||||
var warning = new ModuleDependencyWarning(module, w, d.loc);
|
||||
module.warnings.push(warning);
|
||||
_this.warnings.push(warning);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue