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,8 +36,8 @@ CompatibilityPlugin.prototype.apply = function(compiler) {
|
|||
if(last.critical && last.request === "." && last.userRequest === "." && last.recursive)
|
||||
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);
|
||||
return true;
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue