diff --git a/index.js b/index.js index 81ef84b..18e31ba 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,7 @@ function getSelectorRulesFromCssAst(cssAst) { selectorRules.push({ selector: selector, - rule: cssSelectorParser.parse(selector) + rule: cssSelectorParser.parse(selector).rule }); } } else if (rule.type === 'media') {