postcss-discard-empty
Advanced tools
Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "postcss-discard-empty", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Discard empty rules and values with PostCSS.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -22,3 +22,3 @@ 'use strict'; | ||
if ( | ||
(type === 'decl' && !node.value) || | ||
(type === 'decl' && !node.value && !node.prop.startsWith('--')) || | ||
(type === 'rule' && !node.selector) || | ||
@@ -25,0 +25,0 @@ (sub && !sub.length) || |
5054