GoScrobble/web/node_modules/postcss-merge-longhand/dist/lib/numValues.js

15 lines
305 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _postcss = require('postcss');
const { space } = _postcss.list;
exports.default = (...rules) => {
return rules.reduce((memo, rule) => memo += space(rule.value).length, 0);
};
module.exports = exports['default'];