mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Revert "Allow passing config as lazy-evaluated function"
This reverts commit 1819cf67d3f24ebe055b4c54b4e037a6621b3734.
This commit is contained in:
parent
9d96d0c574
commit
decd9e0334
@ -13,10 +13,6 @@ import substituteBreakpointAtRules from './lib/substituteBreakpointAtRules'
|
||||
import substituteClassApplyAtRules from './lib/substituteClassApplyAtRules'
|
||||
|
||||
const plugin = postcss.plugin('tailwind', (options = {}) => {
|
||||
if (_.isFunction(options)) {
|
||||
options = options()
|
||||
}
|
||||
|
||||
const config = mergeConfig(defaultConfig, options)
|
||||
|
||||
return postcss([
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user