We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@layer
1 parent 051d1a4 commit 07d93e2Copy full SHA for 07d93e2
src/jit/lib/expandTailwindAtRules.js
@@ -238,5 +238,12 @@ export default function expandTailwindAtRules(context) {
238
239
// Clear the cache for the changed files
240
context.changedContent = []
241
+
242
+ // Cleanup any leftover @layer atrules
243
+ root.walkAtRules('layer', (rule) => {
244
+ if (Object.keys(layerNodes).includes(rule.params)) {
245
+ rule.remove()
246
+ }
247
+ })
248
}
249
0 commit comments