diff options
Diffstat (limited to 'node_modules/cssnano/dist/lib/getMatch.js')
| -rw-r--r-- | node_modules/cssnano/dist/lib/getMatch.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/cssnano/dist/lib/getMatch.js b/node_modules/cssnano/dist/lib/getMatch.js new file mode 100644 index 00000000..99cc0231 --- /dev/null +++ b/node_modules/cssnano/dist/lib/getMatch.js @@ -0,0 +1,14 @@ +"use strict"; + +exports.__esModule = true; +exports.default = getMatchFactory; +function getMatchFactory(mappings) { + return function getMatch(args) { + return args.reduce(function (list, arg, i) { + return list.filter(function (keyword) { + return keyword[1][i] === arg; + }); + }, mappings); + }; +} +module.exports = exports["default"];
\ No newline at end of file |
