source: trip-planner-front/node_modules/postcss-merge-longhand/dist/lib/getRules.js@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 466 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = getRules;
7
8var _getLastNode = _interopRequireDefault(require("./getLastNode"));
9
10function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
12function getRules(props, properties) {
13 return properties.map(property => {
14 return (0, _getLastNode.default)(props, property);
15 }).filter(Boolean);
16}
17
18module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.