JonasKruckenberg / imagetools

Load and transform images using a toolbox :toolbox: of custom import directives!
MIT License
908 stars 56 forks source link

Plugin output is not reproducible #731

Open marekdedic opened 2 months ago

marekdedic commented 2 months ago

Hi, I'm using you plugin (through @sveltejs/enhanced-img) and I am having some trouble with my test-suite. I am using snapshot testing and it seems like the generated output from vite-imagetools is slightly different on my machine and the CI machine.

See a failing test in this PR: marekdedic/dedic.eu#107. The snaphot is on my device, however, the generated output on the CI machine is different, so the test fails. Any pointers or ways to mitigate this? Thanks!

marekdedic commented 2 months ago

To clarify, I'm seeing a difference even between 2 consecutive runs on the same machine