Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/postcss-minify-params/dist/index.js

    r59329aa re29cc2e  
    1111
    1212var _alphanumSort = _interopRequireDefault(require("alphanum-sort"));
    13 
    14 var _uniqs = _interopRequireDefault(require("uniqs"));
    1513
    1614var _cssnanoUtils = require("cssnano-utils");
     
    4240  node.value = '';
    4341  node.type = 'word';
     42}
     43
     44function sortAndDedupe(items) {
     45  return (0, _alphanumSort.default)([...new Set(items)], {
     46    insensitive: true
     47  }).join();
    4448}
    4549
     
    8387    }
    8488  }, true);
    85   rule.params = (0, _alphanumSort.default)((0, _uniqs.default)((0, _cssnanoUtils.getArguments)(params).map(split)), {
    86     insensitive: true
    87   }).join();
     89  rule.params = sortAndDedupe((0, _cssnanoUtils.getArguments)(params).map(split));
    8890
    8991  if (!rule.params.length) {
Note: See TracChangeset for help on using the changeset viewer.