You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
311 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = insertCloned;
  6. function insertCloned(rule, decl, props) {
  7. const newNode = Object.assign(decl.clone(), props);
  8. rule.insertAfter(decl, newNode);
  9. return newNode;
  10. };
  11. module.exports = exports["default"];