Use local svgo.cmd wrapper binary
Switch SVG optimizer resolution from bin/svgo-cli.exe to bin/svgo.cmd. Update unit tests to validate the new local binary path behavior. Co-Authored-By: Abacus.AI CLI <agent@abacus.ai>
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
'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;
|
||||
Reference in New Issue
Block a user