10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
|
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);
|
||
|
}
|
||
|
};
|