Update src/client/lazy-app/util/cli-invocation-generator.ts

This commit is contained in:
Surma
2020-12-07 11:17:38 +00:00
committed by GitHub
parent 46764f3375
commit 8105633ca6

View File

@@ -16,11 +16,11 @@ import { EncoderState, ProcessorState } from '../feature-meta';
// Maps our encoder.type values to CLI parameter names
const typeMap = new Map<string, string>([
['avif', '--avif'],
// ["jxl", "--jxl"],
["jxl", "--jxl"],
['mozJPEG', '--mozjpeg'],
['oxiPNG', '--oxipng'],
['webP', '--webp'],
// ["wp2", "--wp2"]
["wp2", "--wp2"],
]);
// Same as JSON.stringify, but with single quotes around the entire value