Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac vs Windows output different binaries/file size (Mac outputs larger file size) #53

Closed
keisto opened this issue Oct 13, 2020 · 0 comments

Comments

@keisto
Copy link

keisto commented Oct 13, 2020

I saw imagemin had a closed issue around this, but hopefully I have provided some more info. (I'll be continuing working on this myself)

I am sharing a Laravel product between Mac and Windows. When windows users run npm run production images have no change. When Mac run that same command image binary changes and image becomes a larger size (binary changes) and all image need to be commited.
Screen Shot 2020-10-12 at 7 10 05 PM


We use the same node and npm versions along with git config for line endings differences between Mac and Windows.

I believe the problem is within this plugin because changing the quality has no effect on the output image size on Mac (using latest beta version) but changing quality works on windows.

imageminMozjpeg({
    quality: 80
})
@keisto keisto closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant