File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -624,14 +624,6 @@ async function parseCss(
624
624
firstThemeRule . nodes = [ context ( { theme : true } , nodes ) ]
625
625
}
626
626
627
- // Replace the `@tailwind utilities` node with a context since it prints
628
- // children directly.
629
- if ( utilitiesNode ) {
630
- let node = utilitiesNode as AstNode as Context
631
- node . kind = 'context'
632
- node . context = { }
633
- }
634
-
635
627
// Replace the `@variant` at-rules with the actual variant rules.
636
628
if ( variantNodes . length > 0 ) {
637
629
for ( let variantNode of variantNodes ) {
@@ -659,6 +651,14 @@ async function parseCss(
659
651
features |= substituteFunctions ( ast , designSystem )
660
652
features |= substituteAtApply ( ast , designSystem )
661
653
654
+ // Replace the `@tailwind utilities` node with a context since it prints
655
+ // children directly.
656
+ if ( utilitiesNode ) {
657
+ let node = utilitiesNode as AstNode as Context
658
+ node . kind = 'context'
659
+ node . context = { }
660
+ }
661
+
662
662
// Remove `@utility`, we couldn't replace it before yet because we had to
663
663
// handle the nested `@apply` at-rules first.
664
664
walk ( ast , ( node , { replaceWith } ) => {
You can’t perform that action at this time.
0 commit comments