www_hero/node_modules/tailwindcss/lib/util/responsive.js
sasha-astiadi 324d5960af hero_web
2024-05-03 06:39:20 +02:00

20 lines
539 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = responsive;
var _postcss = _interopRequireDefault(require("postcss"));
var _cloneNodes = _interopRequireDefault(require("./cloneNodes"));
function responsive(rules) {
return _postcss.default.atRule({
name: "responsive"
}).append((0, _cloneNodes).default(Array.isArray(rules) ? rules : [
rules
]));
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}