Opal-Estate-Pro/node_modules/csso/lib/compressor/compress/Atrule.js

10 lines
291 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
var resolveKeyword = require('../../utils/names.js').keyword;
var compressKeyframes = require('./atrule/keyframes.js');
module.exports = function(node) {
// compress @keyframe selectors
if (resolveKeyword(node.name).name === 'keyframes') {
compressKeyframes(node);
}
};