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

10 lines
282 B
JavaScript
Raw Normal View History

2024-06-24 09:24:00 +00:00
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);
}
};