fix css-vars case

pull/3812/head
Tan Li Hau 6 years ago
parent 1a476d4580
commit a92aa89b83

@ -47,7 +47,7 @@ export default function read_style(parser: Parser, start: number, attributes: No
} }
} }
if (node.type === 'Declaration' && node.value.children.length === 0) { if (node.type === 'Declaration' && node.value.type === 'Value' && node.value.children.length === 0) {
this.remove(); this.remove();
} }

Loading…
Cancel
Save