Remove undefined check for MinChunkSizePlugin

This commit is contained in:
Kenny Tran 2015-05-27 10:10:27 -07:00
parent 7a080e6f24
commit 0c663ae3d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;