code: function _removeParentsIfEmpty(node) {
    let currentNode = node.parent;
    node.remove();
    while (!currentNode.nodes.length) {
      const { parent } = currentNode;
      currentNode.remove();
      currentNode = parent;
    }
  }
docs: Private: removes PostCSS Node and all parents if left empty after removal.
  
  * `node` {Object} PostCSS Node to check.