Opal-Estate-Pro/node_modules/postcss-reduce-idents/dist/lib/cache.js

15 lines
285 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
"use strict";
exports.__esModule = true;
exports.default = function (value, encoder, cache) {
if (cache[value]) {
return;
}
cache[value] = {
ident: encoder(value, Object.keys(cache).length),
count: 0
};
};
module.exports = exports["default"];