- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/postcss-minify-params/dist/index.js
r59329aa re29cc2e 11 11 12 12 var _alphanumSort = _interopRequireDefault(require("alphanum-sort")); 13 14 var _uniqs = _interopRequireDefault(require("uniqs"));15 13 16 14 var _cssnanoUtils = require("cssnano-utils"); … … 42 40 node.value = ''; 43 41 node.type = 'word'; 42 } 43 44 function sortAndDedupe(items) { 45 return (0, _alphanumSort.default)([...new Set(items)], { 46 insensitive: true 47 }).join(); 44 48 } 45 49 … … 83 87 } 84 88 }, 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)); 88 90 89 91 if (!rule.params.length) {
Note:
See TracChangeset
for help on using the changeset viewer.