mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 08:47:31 +00:00
Refactor preprocessors module
This commit is contained in:
@@ -26,10 +26,11 @@ import {
|
||||
encoders,
|
||||
encodersSupported,
|
||||
EncoderSupportMap,
|
||||
PreprocessorState,
|
||||
} from '../../codecs/encoders';
|
||||
import { QuantizeOptions } from '../../codecs/imagequant/quantizer';
|
||||
|
||||
import { PreprocessorState } from '../../codecs/preprocessors';
|
||||
|
||||
const encoderOptionsComponentMap = {
|
||||
[identity.type]: undefined,
|
||||
[mozJPEG.type]: MozJpegEncoderOptions,
|
||||
|
||||
Reference in New Issue
Block a user