Skip to content

Commit 6fe745b

Browse files
committed
Improve comment
1 parent cef0b84 commit 6fe745b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/flagged/applyComplexClasses.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,8 @@ export default function applyComplexClasses(config, getProcessedPlugins) {
255255
{ from: undefined }
256256
)
257257
.then(result => {
258-
// if css already contains tailwind, css is the lookup tree
258+
// Prepend Tailwind's generated classes to the tree so they are available for `@apply`
259259
const lookupTree = _.tap(css.clone(), tree => tree.prepend(result.root))
260-
261260
return processApplyAtRules(css, lookupTree, config)
262261
})
263262
}

0 commit comments

Comments
 (0)