diff --git a/src/util/processPlugins.js b/src/util/processPlugins.js index 63ed9cbac..d147d9a4d 100644 --- a/src/util/processPlugins.js +++ b/src/util/processPlugins.js @@ -46,7 +46,8 @@ export default function(plugins, config) { const applyConfiguredPrefix = selector => { return prefixSelector(config.prefix, selector) } - const getConfigValue = (path, defaultValue) => _.get(config, path, defaultValue) + + const getConfigValue = (path, defaultValue) => (path ? _.get(config, path, defaultValue) : config) const browserslistTarget = browserslist().includes('ie 11') ? 'ie11' : 'relaxed' plugins.forEach(plugin => {