mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Give the whole config access to plugins if needed.
This commit is contained in:
parent
51d0dd3252
commit
074e7aed60
@ -26,7 +26,7 @@ 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
|
||||
|
||||
plugins.forEach(plugin => {
|
||||
if (plugin.__isOptionsFunction) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user