my-idlers/node_modules/csso/lib/replace/Atrule.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

10 lines
280 B
JavaScript
Vendored

var resolveKeyword = require('css-tree').keyword;
var compressKeyframes = require('./atrule/keyframes');
module.exports = function(node) {
// compress @keyframe selectors
if (resolveKeyword(node.name).basename === 'keyframes') {
compressKeyframes(node);
}
};