mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Update src/codecs/processor-worker/index.ts
This commit is contained in:
@@ -86,7 +86,7 @@ async function wp2Encode(
|
||||
data: ImageData, options: import('../wp2/encoder-meta').EncodeOptions,
|
||||
): Promise<ArrayBuffer> {
|
||||
const { encode } = await import(
|
||||
/* webpackChunkName: "process-wp2 -enc" */
|
||||
/* webpackChunkName: "process-wp2-enc" */
|
||||
'../wp2/encoder');
|
||||
return encode(data, options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user