mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Improve comment
This commit is contained in:
parent
cef0b84abf
commit
6fe745b908
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user