Skip to content

Commit d51afd9

Browse files
egoistai
authored andcommitted
Do not load config file from --config (#174)
* Do not load config file from `--config` * tweaks
1 parent dbb597e commit d51afd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = function (source, map) {
6969
throw new Error('PostCSS plugin pack is supported ' +
7070
'only when use plugins in webpack config');
7171
}
72-
return loadConfig({ webpack: loader }, configPath);
72+
return loadConfig({ webpack: loader }, configPath, { argv: false });
7373
}
7474
}).then(function (config) {
7575
if ( !config ) config = { };

0 commit comments

Comments
 (0)