diff --git a/lib/get-config.js b/lib/get-config.js index 6ee269ea..b2c94b68 100644 --- a/lib/get-config.js +++ b/lib/get-config.js @@ -20,7 +20,10 @@ const CONFIG_FILES = [ module.exports = async (context, opts) => { const {cwd, env} = context; - const {config} = (await cosmiconfig(CONFIG_NAME, {searchPlaces: CONFIG_FILES}).search(cwd)) || {}; + const {config, filepath} = (await cosmiconfig(CONFIG_NAME, {searchPlaces: CONFIG_FILES}).search(cwd)) || {}; + + debug('load config from: %s', filepath); + // Merge config file options and CLI/API options let options = {...config, ...opts}; const pluginsPath = {};