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

Skips files without savings? #13

Open
bjoernsteinborn opened this issue Nov 6, 2018 · 1 comment
Open

Skips files without savings? #13

bjoernsteinborn opened this issue Nov 6, 2018 · 1 comment

Comments

@bjoernsteinborn
Copy link

It seems like the input file gets outputted if there are no possible filesize savings. Is this behaviour intended? Can i force the webp creation somehow?

@bjoernsteinborn
Copy link
Author

It's this line which prevents the webp conversion if the webp is not smaller than the input image (KB):
https://github.com/imagemin/imagemin/blob/master/index.js#L24
I get the reason behind but still it makes imagemin-webp working very unreliable.

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