animate/webGl/my-threejs-test/node_modules/csso/lib/replace/Atrule.js

10 lines
282 B
JavaScript

import { keyword as resolveKeyword } from 'css-tree';
import compressKeyframes from './atrule/keyframes.js';
export default function(node) {
// compress @keyframe selectors
if (resolveKeyword(node.name).basename === 'keyframes') {
compressKeyframes(node);
}
};