Skip to content

Commit fe70c89

Browse files
RobinMalfaitadamwathan
authored andcommitted
use append instead of prepend
Same idea, but prepend will internally reverse all nodes.
1 parent e417da2 commit fe70c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flagged/applyComplexClasses.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export default function applyComplexClasses(config, getProcessedPlugins) {
291291
)
292292
.then(result => {
293293
// Prepend Tailwind's generated classes to the tree so they are available for `@apply`
294-
const lookupTree = _.tap(css.clone(), tree => tree.prepend(result.root))
294+
const lookupTree = _.tap(result.root, tree => tree.append(css.clone()))
295295
return processApplyAtRules(css, lookupTree, config)
296296
})
297297
}

0 commit comments

Comments
 (0)