source: trip-planner-front/node_modules/postcss-merge-longhand/dist/lib/insertCloned.js@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 299 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = insertCloned;
7
8function insertCloned(rule, decl, props) {
9 const newNode = Object.assign(decl.clone(), props);
10 rule.insertAfter(decl, newNode);
11 return newNode;
12}
13
14module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.