You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this in my boilerplate for most of my new projects. Recently this stopped working (i.e. the svgo command is never run, or at least the optimized results are not saved back to the uploaded file). spatie/image-optimizer version is the same, but the symfony/process versions aren't. The above works with symfony/process version 3.4.0 but not with 3.4.4.
The only difference in output when dumping $process last in OptimizerChain::applyOptimizer() seems to be
when not working. (I'm omitting identical output for the two cases of $process above.)
I'm guessing of course that is an issue with symfony/process and not this package, but my knowledge of these two packages are limited, so I'm asking here first hoping someone at least can point me in the right direction. :)
I'm running Windows 10 and Apache for the above. I haven't tested this with the regular Spatie\ImageOptimizer\Optimizers\Svgo, but I'm guessing the outcome will be the same.
The text was updated successfully, but these errors were encountered:
@freekmurze It probably is, but will they understand if I post this as an issue in their project? If not, how do you think I should proceed to remedy this issue?
I've created a custom SVGO optimizer:
... which I'm triggering in Wordpress like this:
With this added to my
package.json
:I'm using this in my boilerplate for most of my new projects. Recently this stopped working (i.e. the
svgo
command is never run, or at least the optimized results are not saved back to the uploaded file).spatie/image-optimizer
version is the same, but thesymfony/process
versions aren't. The above works withsymfony/process
version 3.4.0 but not with 3.4.4.The only difference in output when dumping
$process
last inOptimizerChain::applyOptimizer()
seems to bewhen working, and
when not working. (I'm omitting identical output for the two cases of
$process
above.)I'm guessing of course that is an issue with
symfony/process
and not this package, but my knowledge of these two packages are limited, so I'm asking here first hoping someone at least can point me in the right direction. :)I'm running Windows 10 and Apache for the above. I haven't tested this with the regular
Spatie\ImageOptimizer\Optimizers\Svgo
, but I'm guessing the outcome will be the same.The text was updated successfully, but these errors were encountered: