mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-16 18:49:50 +00:00
Update src/client/lazy-app/util/cli-invocation-generator.ts
This commit is contained in:
@@ -16,11 +16,11 @@ import { EncoderState, ProcessorState } from '../feature-meta';
|
|||||||
// Maps our encoder.type values to CLI parameter names
|
// Maps our encoder.type values to CLI parameter names
|
||||||
const typeMap = new Map<string, string>([
|
const typeMap = new Map<string, string>([
|
||||||
['avif', '--avif'],
|
['avif', '--avif'],
|
||||||
// ["jxl", "--jxl"],
|
["jxl", "--jxl"],
|
||||||
['mozJPEG', '--mozjpeg'],
|
['mozJPEG', '--mozjpeg'],
|
||||||
['oxiPNG', '--oxipng'],
|
['oxiPNG', '--oxipng'],
|
||||||
['webP', '--webp'],
|
['webP', '--webp'],
|
||||||
// ["wp2", "--wp2"]
|
["wp2", "--wp2"],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Same as JSON.stringify, but with single quotes around the entire value
|
// Same as JSON.stringify, but with single quotes around the entire value
|
||||||
|
|||||||
Reference in New Issue
Block a user