You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
305 B

4 years ago
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _postcss = require('postcss');
  6. const { space } = _postcss.list;
  7. exports.default = (...rules) => {
  8. return rules.reduce((memo, rule) => memo += space(rule.value).length, 0);
  9. };
  10. module.exports = exports['default'];