Skip to content

Commit cafbc65

Browse files
committed
Merge branch 'master' of github.com:tailwindlabs/tailwindcss
2 parents 61635f4 + f6ce56d commit cafbc65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/util/processPlugins.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export default function(plugins, config) {
4646
const applyConfiguredPrefix = selector => {
4747
return prefixSelector(config.prefix, selector)
4848
}
49-
const getConfigValue = (path, defaultValue) => _.get(config, path, defaultValue)
49+
50+
const getConfigValue = (path, defaultValue) => (path ? _.get(config, path, defaultValue) : config)
5051
const browserslistTarget = browserslist().includes('ie 11') ? 'ie11' : 'relaxed'
5152

5253
plugins.forEach(plugin => {

0 commit comments

Comments
 (0)