mirror of https://github.com/webpack/webpack.git
Remove undefined check for MinChunkSizePlugin
This commit is contained in:
parent
7a080e6f24
commit
0c663ae3d5
|
|
@ -3,7 +3,7 @@
|
|||
Author Tobias Koppers @sokra
|
||||
*/
|
||||
function MinChunkSizePlugin(options) {
|
||||
if(options !== undefined && typeof options !== "object" || Array.isArray(options)) {
|
||||
if(typeof options !== "object" || Array.isArray(options)) {
|
||||
throw new Error("Argument should be an options object.\nFor more info on options, see http://webpack.github.io/docs/list-of-plugins.html");
|
||||
}
|
||||
this.options = options;
|
||||
|
|
|
|||
Loading…
Reference in New Issue