mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
Update cli/lib/asset-plugin.js
Co-authored-by: Ingvar Stepanyan <me@rreverser.com>
This commit is contained in:
@@ -18,7 +18,7 @@ const defaultOpts = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default function assetPlugin(opts) {
|
export default function assetPlugin(opts) {
|
||||||
opts = Object.assign({}, defaultOpts, opts);
|
opts = { ...defaultOpts, ...opts };
|
||||||
|
|
||||||
/** @type {Map<string, Buffer>} */
|
/** @type {Map<string, Buffer>} */
|
||||||
let assetIdToSourceBuffer;
|
let assetIdToSourceBuffer;
|
||||||
|
|||||||
Reference in New Issue
Block a user