mirror of https://github.com/webpack/webpack.git
Improve critical dependency warning text
Just a couple of typos and minor grammar issues.
This commit is contained in:
parent
9e12006916
commit
5e0bfa74c9
|
|
@ -36,7 +36,7 @@ CompatibilityPlugin.prototype.apply = function(compiler) {
|
||||||
if(last.critical && last.request === "." && last.userRequest === "." && last.recursive)
|
if(last.critical && last.request === "." && last.userRequest === "." && last.recursive)
|
||||||
this.state.current.dependencies.pop();
|
this.state.current.dependencies.pop();
|
||||||
}
|
}
|
||||||
dep.critical = "This seem to be a pre-built javascript file. Even while this is possible, it's not recommended. Try to require to orginal source to get better results.";
|
dep.critical = "This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.";
|
||||||
this.state.current.addDependency(dep);
|
this.state.current.addDependency(dep);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue