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:
+19
@@ -0,0 +1,19 @@
|
||||
import { String as StringToken } from '../../tokenizer/index.js';
|
||||
import { decode, encode } from '../../utils/string.js';
|
||||
|
||||
export const name = 'String';
|
||||
export const structure = {
|
||||
value: String
|
||||
};
|
||||
|
||||
export function parse() {
|
||||
return {
|
||||
type: 'String',
|
||||
loc: this.getLocation(this.tokenStart, this.tokenEnd),
|
||||
value: decode(this.consume(StringToken))
|
||||
};
|
||||
}
|
||||
|
||||
export function generate(node) {
|
||||
this.token(StringToken, encode(node.value));
|
||||
}
|
||||
Reference in New Issue
Block a user