mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Unwrap config in inner function
Unwrapping in the outer function causes it to get cached during watching.
This commit is contained in:
parent
260ce829af
commit
021ce94b7d
@ -23,9 +23,9 @@ const variantGenerators = {
|
||||
}
|
||||
|
||||
export default function(config) {
|
||||
const separator = config().options.separator
|
||||
|
||||
return function(css) {
|
||||
const separator = config().options.separator
|
||||
|
||||
css.walkAtRules('variants', atRule => {
|
||||
const variants = postcss.list.comma(atRule.params)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user