Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Commit 0c3b46c

Browse files
committed
remove unused variables
1 parent 6f2168a commit 0c3b46c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib/expandApplyAtRules.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const postcss = require('postcss')
21
const generateRules = require('./generateRules')
32
const { bigSign, toPostCssNode, isPlainObject } = require('./utils')
43
const escape = require('tailwindcss/lib/util/escapeClassName').default
@@ -82,9 +81,7 @@ function expandApplyAtRules(context) {
8281
}
8382

8483
// Inject the rules, sorted, correctly
85-
for (let [{ sort }, sibling] of siblings.sort(([{ sort: a }], [{ sort: z }]) =>
86-
bigSign(z - a)
87-
)) {
84+
for (let [, sibling] of siblings.sort(([{ sort: a }], [{ sort: z }]) => bigSign(z - a))) {
8885
// `apply.parent` is referring to the node at `.abc` in: .abc { @apply mt-2 }
8986
apply.parent.after(sibling)
9087
}

0 commit comments

Comments
 (0)