Skip to content

Commit 3edd89b

Browse files
committed
Handle explicit @tailwind screens properly
1 parent 5b19a41 commit 3edd89b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/substituteTailwindAtRules.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export default function(
6262
atRule.before(updateSource(pluginUtilities, atRule.source))
6363
atRule.remove()
6464
}
65+
66+
if (atRule.params === 'screens') {
67+
includesScreensExplicitly = true
68+
}
6569
})
6670

6771
if (!includesScreensExplicitly) {

0 commit comments

Comments
 (0)