Improve comment

This commit is contained in:
Adam Wathan 2020-08-14 13:26:14 -04:00
parent cef0b84abf
commit 6fe745b908

View File

@ -255,9 +255,8 @@ export default function applyComplexClasses(config, getProcessedPlugins) {
{ from: undefined }
)
.then(result => {
// if css already contains tailwind, css is the lookup tree
// Prepend Tailwind's generated classes to the tree so they are available for `@apply`
const lookupTree = _.tap(css.clone(), tree => tree.prepend(result.root))
return processApplyAtRules(css, lookupTree, config)
})
}