Urara-Blog/node_modules/.pnpm-store/v3/files/55/b42a5fbb55eb99ba39cf7b605730e3697b900fb7ffe978b01cabf258e20c856cb668e21c3f1beb8d73302545b2c29eb06cc652115ffc4cb86e9a7682adeca2
2022-08-14 01:14:53 +08:00

15 lines
375 B
Text

'use strict';
const getLastNode = require('./getLastNode.js');
/**
* @param {import('postcss').Declaration[]} props
* @param {string[]} properties
* @return {import('postcss').Declaration[]}
*/
module.exports = function getRules(props, properties) {
return properties
.map((property) => {
return getLastNode(props, property);
})
.filter(Boolean);
};