diff --git a/index.js b/index.js index 9f00cba0..36b54ffe 100644 --- a/index.js +++ b/index.js @@ -69,7 +69,7 @@ module.exports = function (source, map) { throw new Error('PostCSS plugin pack is supported ' + 'only when use plugins in webpack config'); } - return loadConfig({ webpack: loader }, configPath); + return loadConfig({ webpack: loader }, configPath, { argv: false }); } }).then(function (config) { if ( !config ) config = { };