❯ imageoptim .
i Running ImageOptim...
! stderr maxBuffer length exceeded
! Please raise an issue at https://github.com/JamieMason/ImageOptim-CLI/issues
RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stderr maxBuffer length exceeded
at new NodeError (node:internal/errors:388:5)
at Socket.onChildStderr (node:child_process:476:14)
at Socket.emit (node:events:537:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:293:11)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
Description (What)
added option for declaring custom batch sizes, ie:
--batch-size 5
, if no option is specified, the batch defaults to the original 300 countJustification (Why)
Older hardware experiences a regression of https://github.com/JamieMason/ImageOptim-CLI/issues/173
on
How Can This Be Tested?