Opal-Estate-Pro/node_modules/postcss-merge-longhand/dist/lib/getRules.js
2019-09-13 11:27:52 +07:00

17 lines
482 B
JavaScript
Executable File

'use strict';
exports.__esModule = true;
exports.default = getRules;
var _getLastNode = require('./getLastNode');
var _getLastNode2 = _interopRequireDefault(_getLastNode);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function getRules(props, properties) {
return properties.map(function (property) {
return (0, _getLastNode2.default)(props, property);
}).filter(Boolean);
}
module.exports = exports['default'];