
export default function rawSelectors() {
  function addRuleHook(rule) {
    if (rule.type === 'style' && isRawSelector(rule.name)) {
      rule.name = rule.name.replace(/^@raw\s?/, '');
      rule.selectorText = rule.name;
    }
  }

  return { addRuleHook };
}

export function isRawSelector(ruleName) {
  return ruleName.substr(0, 4) === '@raw';
}



export default function rawSelectors() {
  function addRuleHook(rule) {
    if (rule.type === 'style' && isRawSelector(rule.name)) {
      rule.selectorText = rule.name.replace(/^@raw\s?/, '');
    }
  }

  return { addRuleHook };
}

export function isRawSelector(ruleName) {
  return ruleName.substr(0, 4) === '@raw';
}


Fix issue with raw selectors
Fix issue with raw selectors
