You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
288 B
14 lines
288 B
2 years ago
|
'use strict';
|
||
|
|
||
|
const cssTree = require('css-tree');
|
||
|
const keyframes = require('./atrule/keyframes.cjs');
|
||
|
|
||
|
function Atrule(node) {
|
||
|
// compress @keyframe selectors
|
||
|
if (cssTree.keyword(node.name).basename === 'keyframes') {
|
||
|
keyframes(node);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = Atrule;
|