"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = removeLayerAtRules;

function removeLayerAtRules() {
  return root => {
    root.walkAtRules(rule => {
      if (['layer', 'responsive', 'variants'].includes(rule.name)) {
        rule.remove();
      }
    });
  };
}