lepu-test-platform-web/node_modules/csso/lib/compressor/compress/Atrule.js

10 lines
291 B
JavaScript
Raw Normal View History

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);
}
};