Skip to content

Commit

Permalink
use append instead of prepend
Browse files Browse the repository at this point in the history
Same idea, but prepend will internally reverse all nodes.
  • Loading branch information
RobinMalfait authored and adamwathan committed Aug 18, 2020
1 parent e417da2 commit fe70c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flagged/applyComplexClasses.js
Expand Up @@ -291,7 +291,7 @@ export default function applyComplexClasses(config, getProcessedPlugins) {
)
.then(result => {
// Prepend Tailwind's generated classes to the tree so they are available for `@apply`
const lookupTree = _.tap(css.clone(), tree => tree.prepend(result.root))
const lookupTree = _.tap(result.root, tree => tree.append(css.clone()))
return processApplyAtRules(css, lookupTree, config)
})
}
Expand Down

0 comments on commit fe70c89

Please sign in to comment.