diff --git a/index.js b/index.js index e567d4f..2738e3a 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,8 @@ var cachedDependencies = []; var defaultOptions = { cache: false, - yes: true + yes: true, + warn: true }; var getInput = function() { @@ -19,7 +20,7 @@ var getOptions = function() { var globalOptions = this.options.elm || {}; var loaderOptions = loaderUtils.parseQuery(this.query); return _.extend({ - warn: this.emitWarning + emitWarning: this.emitWarning }, defaultOptions, globalOptions, loaderOptions); };