tailwindcss
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -15,2 +15,14 @@ "use strict"; | ||
function wrapWithVariants(rules, variants) { | ||
let foundVariantAtRule = false; | ||
_postcss.default.root({ | ||
nodes: rules | ||
}).walkAtRules('variants', () => { | ||
foundVariantAtRule = true; | ||
}); | ||
if (foundVariantAtRule) { | ||
return (0, _cloneNodes.default)(rules); | ||
} | ||
return _postcss.default.atRule({ | ||
@@ -17,0 +29,0 @@ name: 'variants', |
{ | ||
"name": "tailwindcss", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "A utility-first CSS framework for rapidly building custom user interfaces.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
6323464
135904